cvs: php4(PHP_4_3) /ext/standard/tests/file 003-win32.phpt 003.phpt
| From: | Kai Schr�der | Date: | Sun, 09 Feb 2003 13:18:14 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard/tests/file 003-win32.phpt 003.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18538@lists.php.net to get a copy of this message | ||
k.schroeder Sun Feb 9 08:18:14 2003 EDT
Added files: (Branch: PHP_4_3)
/php4/ext/standard/tests/file 003-win32.phpt
Modified files:
/php4/ext/standard/tests/file 003.phpt
Log:
is_executable() does not exist on Windows
Index: php4/ext/standard/tests/file/003.phpt
diff -u php4/ext/standard/tests/file/003.phpt:1.5 php4/ext/standard/tests/file/003.phpt:1.5.2.1
--- php4/ext/standard/tests/file/003.phpt:1.5 Sat Oct 12 12:53:13 2002
+++ php4/ext/standard/tests/file/003.phpt Sun Feb 9 08:18:13 2003
@@ -1,5 +1,11 @@
--TEST--
is_*() and file_exists() return values are boolean.
+--SKIPIF--
+<?php
+if (substr(PHP_OS, 0, 3) == 'WIN') {
+ die('skip is_executable() does not exist on Windows');
+}
+?>
--POST--
--GET--
--FILE--
Index: php4/ext/standard/tests/file/003-win32.phpt
+++ php4/ext/standard/tests/file/003-win32.phpt