fix tests: do not run on MACOS

This commit is contained in:
Raghubansh Kumar 2007-08-29 10:13:25 +00:00
parent ae2808fdb8
commit 57bc6ad6bb
3 changed files with 9 additions and 9 deletions

View file

@ -2,9 +2,9 @@
Test fnmatch() function: Basic functionality
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip no fnmatch() on Windows');
}
if( (stristr(PHP_OS, "Mac")) || (stristr(PHP_OS, "Win")) )
die("skip do not run on MacOS/Windows");
?>
--FILE--
<?php
/* Prototype: bool fnmatch ( string $pattern, string $string [, int $flags] )

View file

@ -2,9 +2,9 @@
Test fnmatch() function: Error conditions
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip no fnmatch() on Windows');
}
if( (stristr(PHP_OS, "Mac")) || (stristr(PHP_OS, "Win")) )
die("skip do not run on MacOS/Windows");
?>
--FILE--
<?php
/* Prototype: bool fnmatch ( string $pattern, string $string [, int $flags] )

View file

@ -2,9 +2,9 @@
Test fnmatch() function: Variations
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip no fnmatch() on Windows');
}
if( (stristr(PHP_OS, "Mac")) || (stristr(PHP_OS, "Win")) )
die("skip do not run on MacOS/Windows");
?>
--FILE--
<?php
/* Prototype: bool fnmatch ( string $pattern, string $string [, int $flags] )