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

View file

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

View file

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