]> granicus.if.org Git - php/commitdiff
ctime (#10) may differ on several filesystems.
authorMoriyoshi Koizumi <moriyoshi@php.net>
Fri, 14 Nov 2003 08:59:30 +0000 (08:59 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Fri, 14 Nov 2003 08:59:30 +0000 (08:59 +0000)
# I confirmed it on Darwin

ext/standard/tests/file/001.phpt

index 2191fa23d60c353c8aa616f91157663acb4ca339..6cefe25a7c456207564a584e1d3847a5c8af00dd 100644 (file)
@@ -58,7 +58,7 @@ $s = stat ('test.link');
 $ls = lstat ('test.link');
 for ($i = 0; $i <= 11; $i++) {
     if ($ls[$i] != $s[$i]) {
-       if ($i != 6 && $i != 11) echo "test.link lstat and stat differ at element $i\n";
+       if ($i != 6 && $i != 10 && $i != 11) echo "test.link lstat and stat differ at element $i\n";
     }
 }
 echo "test.file is " . filetype('test.file') . "\n";
@@ -131,7 +131,6 @@ test.link lstat and stat differ at element 2
 test.link lstat and stat differ at element 7
 test.link lstat and stat differ at element 8
 test.link lstat and stat differ at element 9
-test.link lstat and stat differ at element 10
 test.file is file
 test.link is link
 test.file permissions are 0744