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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php