Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix skip reasons
This commit is contained in:
Christoph M. Becker 2020-07-10 11:28:28 +02:00
commit ef1de5e973
10 changed files with 9 additions and 12 deletions

View File

@ -3,7 +3,7 @@ File type functions
--SKIPIF-- --SKIPIF--
<?php <?php
if (substr(PHP_OS, 0, 3) == 'WIN') { if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip no symlinks on Windows'); die('skip not for Windows');
} }
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
?> ?>

View File

@ -3,7 +3,7 @@ Bug #39367 (clearstatcache() doesn't clear realpath cache)
--SKIPIF-- --SKIPIF--
<?php <?php
if (substr(PHP_OS, 0, 3) == 'WIN') { if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip no symlinks on Windows'); die('skip not for Windows');
} }
?> ?>
--FILE-- --FILE--

View File

@ -3,7 +3,7 @@ Test fflush() function: usage variations - links as resource
--SKIPIF-- --SKIPIF--
<?php <?php
if( substr(PHP_OS, 0, 3) == 'WIN') if( substr(PHP_OS, 0, 3) == 'WIN')
die("skip Links not valid on Windows"); die("skip not for Windows");
?> ?>
--FILE-- --FILE--
<?php <?php

View File

@ -3,7 +3,7 @@ Test fflush() function: usage variations - hard links as resource
--SKIPIF-- --SKIPIF--
<?php <?php
if( substr(PHP_OS, 0, 3) == 'WIN') if( substr(PHP_OS, 0, 3) == 'WIN')
die("skip Links not valid on Windows"); die("skip not for Windows");
?> ?>
--FILE-- --FILE--
<?php <?php

View File

@ -2,9 +2,6 @@
Test filetype() function: Variations Test filetype() function: Variations
--SKIPIF-- --SKIPIF--
<?php <?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip no link()/symlink() on Windows');
}
if (!function_exists("posix_mkfifo")) { if (!function_exists("posix_mkfifo")) {
die("skip no posix_mkfifo()"); die("skip no posix_mkfifo()");
} }

View File

@ -4,7 +4,7 @@ Test lstat() & stat() functions: basic functionality
<?php <?php
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
if (substr(PHP_OS, 0, 3) == 'WIN') { if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. lstat() not available on Windows'); die('skip not for Windows');
} }
?> ?>
--FILE-- --FILE--

View File

@ -3,7 +3,7 @@ mkdir(dir, 0777) tests
--SKIPIF-- --SKIPIF--
<?php <?php
if (substr(PHP_OS, 0, 3) == 'WIN') { if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip no symlinks on Windows'); die('skip not for Windows');
} }
?> ?>
--FILE-- --FILE--

View File

@ -3,7 +3,7 @@ Test realpath() with relative paths
--SKIPIF-- --SKIPIF--
<?php <?php
if (substr(PHP_OS, 0, 3) == 'WIN') { if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip no symlinks on Windows'); die('skip not for Windows');
} }
?> ?>
--FILE-- --FILE--

View File

@ -3,7 +3,7 @@ symlink() & friends
--SKIPIF-- --SKIPIF--
<?php <?php
if (substr(PHP_OS, 0, 3) == 'WIN') { if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip no symlinks on Windows'); die('skip not for Windows');
} }
?> ?>
--FILE-- --FILE--

View File

@ -3,7 +3,7 @@ symlink() using a relative path, and symlink() to a symlink
--SKIPIF-- --SKIPIF--
<?php <?php
if (substr(PHP_OS, 0, 3) == 'WIN') { if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip no symlinks on Windows'); die('skip not for Windows');
} }
?> ?>
--FILE-- --FILE--