cvs: php4(PHP_4_3) /ext/standard/tests/general_functions getopt.phpt
| From: | Kai Schr�der | Date: | Sun, 09 Feb 2003 13:23:11 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard/tests/general_functions getopt.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18543@lists.php.net to get a copy of this message | ||
k.schroeder Sun Feb 9 08:23:11 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/standard/tests/general_functions getopt.phpt
Log:
getopt() is currently not available on Windows
Index: php4/ext/standard/tests/general_functions/getopt.phpt
diff -u php4/ext/standard/tests/general_functions/getopt.phpt:1.1.2.1
php4/ext/standard/tests/general_functions/getopt.phpt:1.1.2.2
--- php4/ext/standard/tests/general_functions/getopt.phpt:1.1.2.1 Wed Dec 11 12:39:42 2002
+++ php4/ext/standard/tests/general_functions/getopt.phpt Sun Feb 9 08:23:10 2003
@@ -4,6 +4,9 @@
-v -h -d test -m 1234 -t -j
--SKIPIF--
<?php
+ if (substr(PHP_OS, 0, 3) == 'WIN') {
+ die('skip getopt() is currently not available on Windows');
+ }
if (!ini_get('register_argc_argv')) {
die("skip this test needs register_argc_argv to be enabled");
}