From: Moriyoshi Koizumi Date: Fri, 14 Nov 2003 08:59:30 +0000 (+0000) Subject: ctime (#10) may differ on several filesystems. X-Git-Tag: php-5.0.0b3RC1~685 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b7bd4be8f9c839a66fee6328f32d13b58b65095;p=php ctime (#10) may differ on several filesystems. # I confirmed it on Darwin --- diff --git a/ext/standard/tests/file/001.phpt b/ext/standard/tests/file/001.phpt index 2191fa23d6..6cefe25a7c 100644 --- a/ext/standard/tests/file/001.phpt +++ b/ext/standard/tests/file/001.phpt @@ -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