summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-07-10 11:22:07 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-07-10 11:26:48 +0200
commit7edc5e5e39dc599f5ee436f85e7cf59c9260bca5 (patch)
treeeb009a6c3f2f57823f51ad768a880aeff689b651
parent68293b19d4c07890ef43d59cd24755c5f182ed48 (diff)
downloadphp-git-7edc5e5e39dc599f5ee436f85e7cf59c9260bca5.tar.gz
Fix skip reasons
These tests fail on Windows for different reasons, but not because symlinks, links, or lstat() would not be supported on Windows generally.
-rw-r--r--ext/standard/tests/file/001.phpt2
-rw-r--r--ext/standard/tests/file/bug39367.phpt2
-rw-r--r--ext/standard/tests/file/fflush_variation2.phpt2
-rw-r--r--ext/standard/tests/file/fflush_variation3.phpt2
-rw-r--r--ext/standard/tests/file/filetype_variation.phpt3
-rw-r--r--ext/standard/tests/file/lstat_stat_basic.phpt2
-rw-r--r--ext/standard/tests/file/mkdir-002.phpt2
-rw-r--r--ext/standard/tests/file/realpath_basic4.phpt2
-rw-r--r--ext/standard/tests/file/symlink.phpt2
-rw-r--r--ext/standard/tests/file/symlink_to_symlink.phpt2
10 files changed, 9 insertions, 12 deletions
diff --git a/ext/standard/tests/file/001.phpt b/ext/standard/tests/file/001.phpt
index d5ab2e5a0b..f1dd8c0894 100644
--- a/ext/standard/tests/file/001.phpt
+++ b/ext/standard/tests/file/001.phpt
@@ -3,7 +3,7 @@ File type functions
--SKIPIF--
<?php
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");
?>
diff --git a/ext/standard/tests/file/bug39367.phpt b/ext/standard/tests/file/bug39367.phpt
index f3e79fcf5e..3535250329 100644
--- a/ext/standard/tests/file/bug39367.phpt
+++ b/ext/standard/tests/file/bug39367.phpt
@@ -3,7 +3,7 @@ Bug #39367 (clearstatcache() doesn't clear realpath cache)
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
- die('skip no symlinks on Windows');
+ die('skip not for Windows');
}
?>
--FILE--
diff --git a/ext/standard/tests/file/fflush_variation2.phpt b/ext/standard/tests/file/fflush_variation2.phpt
index 7f6b914304..a10be353bc 100644
--- a/ext/standard/tests/file/fflush_variation2.phpt
+++ b/ext/standard/tests/file/fflush_variation2.phpt
@@ -3,7 +3,7 @@ Test fflush() function: usage variations - links as resource
--SKIPIF--
<?php
if( substr(PHP_OS, 0, 3) == 'WIN')
- die("skip Links not valid on Windows");
+ die("skip not for Windows");
?>
--FILE--
<?php
diff --git a/ext/standard/tests/file/fflush_variation3.phpt b/ext/standard/tests/file/fflush_variation3.phpt
index c74eeb8e25..7f9a1b6772 100644
--- a/ext/standard/tests/file/fflush_variation3.phpt
+++ b/ext/standard/tests/file/fflush_variation3.phpt
@@ -3,7 +3,7 @@ Test fflush() function: usage variations - hard links as resource
--SKIPIF--
<?php
if( substr(PHP_OS, 0, 3) == 'WIN')
- die("skip Links not valid on Windows");
+ die("skip not for Windows");
?>
--FILE--
<?php
diff --git a/ext/standard/tests/file/filetype_variation.phpt b/ext/standard/tests/file/filetype_variation.phpt
index 019f73a3c8..21bceedd02 100644
--- a/ext/standard/tests/file/filetype_variation.phpt
+++ b/ext/standard/tests/file/filetype_variation.phpt
@@ -2,9 +2,6 @@
Test filetype() function: Variations
--SKIPIF--
<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
- die('skip no link()/symlink() on Windows');
-}
if (!function_exists("posix_mkfifo")) {
die("skip no posix_mkfifo()");
}
diff --git a/ext/standard/tests/file/lstat_stat_basic.phpt b/ext/standard/tests/file/lstat_stat_basic.phpt
index 24788e3a8a..8a488f644b 100644
--- a/ext/standard/tests/file/lstat_stat_basic.phpt
+++ b/ext/standard/tests/file/lstat_stat_basic.phpt
@@ -4,7 +4,7 @@ Test lstat() & stat() functions: basic functionality
<?php
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
if (substr(PHP_OS, 0, 3) == 'WIN') {
- die('skip.. lstat() not available on Windows');
+ die('skip not for Windows');
}
?>
--FILE--
diff --git a/ext/standard/tests/file/mkdir-002.phpt b/ext/standard/tests/file/mkdir-002.phpt
index 2cc849f462..2953af8887 100644
--- a/ext/standard/tests/file/mkdir-002.phpt
+++ b/ext/standard/tests/file/mkdir-002.phpt
@@ -3,7 +3,7 @@ mkdir(dir, 0777) tests
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
- die('skip no symlinks on Windows');
+ die('skip not for Windows');
}
?>
--FILE--
diff --git a/ext/standard/tests/file/realpath_basic4.phpt b/ext/standard/tests/file/realpath_basic4.phpt
index 1af510d34a..47fd8040c7 100644
--- a/ext/standard/tests/file/realpath_basic4.phpt
+++ b/ext/standard/tests/file/realpath_basic4.phpt
@@ -3,7 +3,7 @@ Test realpath() with relative paths
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
- die('skip no symlinks on Windows');
+ die('skip not for Windows');
}
?>
--FILE--
diff --git a/ext/standard/tests/file/symlink.phpt b/ext/standard/tests/file/symlink.phpt
index 3afbfe6411..f549cf6f07 100644
--- a/ext/standard/tests/file/symlink.phpt
+++ b/ext/standard/tests/file/symlink.phpt
@@ -3,7 +3,7 @@ symlink() & friends
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
- die('skip no symlinks on Windows');
+ die('skip not for Windows');
}
?>
--FILE--
diff --git a/ext/standard/tests/file/symlink_to_symlink.phpt b/ext/standard/tests/file/symlink_to_symlink.phpt
index c13c26d827..3fcea5fde4 100644
--- a/ext/standard/tests/file/symlink_to_symlink.phpt
+++ b/ext/standard/tests/file/symlink_to_symlink.phpt
@@ -3,7 +3,7 @@ symlink() using a relative path, and symlink() to a symlink
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
- die('skip no symlinks on Windows');
+ die('skip not for Windows');
}
?>
--FILE--