mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
fix tests: do not run on MACOS
This commit is contained in:
parent
ae2808fdb8
commit
57bc6ad6bb
3 changed files with 9 additions and 9 deletions
|
@ -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] )
|
||||
|
|
|
@ -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] )
|
||||
|
|
|
@ -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] )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue