cvs: php4 /ext/standard/tests/file 001.phpt

From: Date: Mon, 21 Oct 2002 00:30:05 +0000
Subject: cvs: php4 /ext/standard/tests/file 001.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15077@lists.php.net to get a copy of this message
sniper Sun Oct 20 20:30:05 2002 EDT Modified files: /php4/ext/standard/tests/file 001.phpt Log: There is no point doing this test. Some systems think root can always execute so this is always true. Index: php4/ext/standard/tests/file/001.phpt diff -u php4/ext/standard/tests/file/001.phpt:1.6 php4/ext/standard/tests/file/001.phpt:1.7 --- php4/ext/standard/tests/file/001.phpt:1.6 Tue Mar 5 04:00:56 2002 +++ php4/ext/standard/tests/file/001.phpt Sun Oct 20 20:30:05 2002 @@ -74,13 +74,6 @@ } 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 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

« previous php.cvs (#15077) next »