summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/fnmatch_basic.phpt
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
committerSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
commit2876046398950e59c3b3c460e67e6fec7ff2ba3c (patch)
tree33b2b8b4b859960a6446ad19d0ada1c55f9cfcda /ext/standard/tests/file/fnmatch_basic.phpt
parent3fb86b0b9e79e6a3312b694f30ee627e2e1b325c (diff)
downloadphp-git-php-5.3.0alpha2.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'.php-5.3.0alpha2
Diffstat (limited to 'ext/standard/tests/file/fnmatch_basic.phpt')
-rw-r--r--ext/standard/tests/file/fnmatch_basic.phpt7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/standard/tests/file/fnmatch_basic.phpt b/ext/standard/tests/file/fnmatch_basic.phpt
index 4eb567c392..322362e8bf 100644
--- a/ext/standard/tests/file/fnmatch_basic.phpt
+++ b/ext/standard/tests/file/fnmatch_basic.phpt
@@ -2,11 +2,8 @@
Test fnmatch() function: Basic functionality
--SKIPIF--
<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
- die("skip do not run on Windows");
-
-if (!function_exists('fnmatch'))
- die("skip fnmatch() function is not available");
+if( (stristr(PHP_OS, "Mac")) || (stristr(PHP_OS, "Win")) )
+ die("skip do not run on MacOS/Windows");
?>
--FILE--
<?php