From: Rasmus Lerdorf Date: Tue, 13 Nov 2001 12:39:21 +0000 (+0000) Subject: Different operating systems handle the group x bit differently, so X-Git-Tag: ChangeLog~329 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f78f4364a08a704a9d99d3ce80e2cdf52c81b035;p=php Different operating systems handle the group x bit differently, so simplify this test to test the user x bit instead --- diff --git a/ext/standard/tests/file/001.phpt b/ext/standard/tests/file/001.phpt index 6c1410c805..da8fad37a6 100644 --- a/ext/standard/tests/file/001.phpt +++ b/ext/standard/tests/file/001.phpt @@ -12,7 +12,7 @@ if (file_exists('test.file')) { echo "test.file does not exist\n"; } fclose (fopen('test.file', 'w')); -chmod ('test.file', 0654); +chmod ('test.file', 0744); if (file_exists('test.file')) { echo "test.file exists\n"; } else { @@ -134,11 +134,11 @@ 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 0654 +test.file permissions are 0744 test.file size is 0 test.file is writeable test.file is readable -test.file is not executable +test.file is executable test.file is not executable test.file is a regular file test.link is a regular file