diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2001-11-13 12:39:21 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2001-11-13 12:39:21 +0000 |
| commit | f78f4364a08a704a9d99d3ce80e2cdf52c81b035 (patch) | |
| tree | e2d3f27a1c28fce28d3117cc061286c1ed6555e3 | |
| parent | 2e3fbf41f9341da9a9fc022519fad0ff44f79e62 (diff) | |
| download | php-git-f78f4364a08a704a9d99d3ce80e2cdf52c81b035.tar.gz | |
Different operating systems handle the group x bit differently, so
simplify this test to test the user x bit instead
| -rw-r--r-- | ext/standard/tests/file/001.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
