Browse Source

these tests work just fine on macos-x

PECL
Alexey Zakhlestin 18 years ago
parent
commit
a7730c9c8c
  1. 4
      ext/standard/tests/file/copy_variation15.phpt
  2. 4
      ext/standard/tests/file/copy_variation9.phpt
  3. 4
      ext/standard/tests/file/fnmatch_basic.phpt
  4. 4
      ext/standard/tests/file/fnmatch_error.phpt
  5. 4
      ext/standard/tests/file/fnmatch_variation.phpt

4
ext/standard/tests/file/copy_variation15.phpt

@ -2,8 +2,8 @@
Test copy() function: usage variations - destination dir access perms
--SKIPIF--
<?php
if( (stristr(PHP_OS, "Darwin")) || (stristr(PHP_OS, "Win")) )
die("skip do not run on MacOS/Windows");
if(substr(PHP_OS, 0, 3) == 'WIN')
die("skip do not run on Windows");
// Skip if being run by root (files are always readable, writeable and executable)
$filename = dirname(__FILE__)."/copy_variation15_root_check.tmp";
$fp = fopen($filename, 'w');

4
ext/standard/tests/file/copy_variation9.phpt

@ -2,8 +2,8 @@
Test copy() function: usage variations - destination file access perms
--SKIPIF--
<?php
if( (stristr(PHP_OS, "Darwin")) || (stristr(PHP_OS, "Win")) )
die("skip do not run on MacOS/Windows");
if(substr(PHP_OS, 0, 3) == 'WIN')
die("skip do not run on Windows");
// Skip if being run by root (files are always readable, writeable and executable)
$filename = dirname(__FILE__)."/copy_variation9_root_check.tmp";

4
ext/standard/tests/file/fnmatch_basic.phpt

@ -2,8 +2,8 @@
Test fnmatch() function: Basic functionality
--SKIPIF--
<?php
if( (stristr(PHP_OS, "Mac")) || (stristr(PHP_OS, "Win")) )
die("skip do not run on MacOS/Windows");
if(substr(PHP_OS, 0, 3) == 'WIN')
die("skip do not run on Windows");
?>
--FILE--
<?php

4
ext/standard/tests/file/fnmatch_error.phpt

@ -2,8 +2,8 @@
Test fnmatch() function: Error conditions
--SKIPIF--
<?php
if( (stristr(PHP_OS, "Mac")) || (stristr(PHP_OS, "Win")) )
die("skip do not run on MacOS/Windows");
if(substr(PHP_OS, 0, 3) == 'WIN')
die("skip do not run on Windows");
?>
--FILE--
<?php

4
ext/standard/tests/file/fnmatch_variation.phpt

@ -2,8 +2,8 @@
Test fnmatch() function: Variations
--SKIPIF--
<?php
if( (stristr(PHP_OS, "Mac")) || (stristr(PHP_OS, "Win")) )
die("skip do not run on MacOS/Windows");
if(substr(PHP_OS, 0, 3) == 'WIN')
die("skip do not run on Windows");
?>
--FILE--
<?php

Loading…
Cancel
Save