From: foobar Date: Mon, 21 Oct 2002 00:30:05 +0000 (+0000) Subject: There is no point doing this test. Some systems think root can always execute so... X-Git-Tag: php-4.3.0pre2~255 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e232b212ba955157daa9ac485352f05a38c5533d;p=php There is no point doing this test. Some systems think root can always execute so this is always true. --- diff --git a/ext/standard/tests/file/001.phpt b/ext/standard/tests/file/001.phpt index 8b4ff87850..24afa3fa6d 100644 --- a/ext/standard/tests/file/001.phpt +++ b/ext/standard/tests/file/001.phpt @@ -74,13 +74,6 @@ if (is_executable('test.file')) { } else { echo "test.file is not executable\n"; } -chmod ('test.file', 0644); -clearstatcache(); -if (is_executable('test.file')) { - echo "test.file is executable\n"; -} else { - echo "test.file is not executable\n"; -} if (is_file('test.file')) { echo "test.file is a regular file\n"; } else { @@ -140,7 +133,6 @@ test.file size is 0 test.file is writeable test.file is readable test.file is executable -test.file is not executable test.file is a regular file test.link is a regular file test.link is not a directory