cvs: php4 /ext/standard/tests/file 001.phpt
| From: | Rasmus Lerdorf | Date: | Tue, 13 Nov 2001 12:39:21 +0000 |
| Subject: | cvs: php4 /ext/standard/tests/file 001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8191@lists.php.net to get a copy of this message | ||
rasmus Tue Nov 13 07:39:21 2001 EDT
Modified files:
/php4/ext/standard/tests/file 001.phpt
Log:
Different operating systems handle the group x bit differently, so
simplify this test to test the user x bit instead
Index: php4/ext/standard/tests/file/001.phpt
diff -u php4/ext/standard/tests/file/001.phpt:1.4 php4/ext/standard/tests/file/001.phpt:1.5
--- php4/ext/standard/tests/file/001.phpt:1.4 Thu Jun 21 07:15:38 2001
+++ php4/ext/standard/tests/file/001.phpt Tue Nov 13 07:39:21 2001
@@ -12,7 +12,7 @@
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 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