]> granicus.if.org Git - php/commitdiff
Make more tests run on Windows
authorGabriel Caruso <carusogabriel34@gmail.com>
Mon, 27 May 2019 01:30:05 +0000 (22:30 -0300)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 27 May 2019 08:51:53 +0000 (10:51 +0200)
15 files changed:
ext/spl/tests/SplFileInfo_getGroup_error.phpt
ext/spl/tests/SplFileInfo_getInode_error.phpt
ext/spl/tests/SplFileInfo_getOwner_error.phpt
ext/spl/tests/SplFileInfo_getPerms_error.phpt
ext/standard/tests/array/array_change_key_case_variation8.phpt
ext/standard/tests/array/arsort_variation5.phpt
ext/standard/tests/array/asort_variation5.phpt
ext/standard/tests/array/krsort_variation5.phpt
ext/standard/tests/array/ksort_variation5.phpt
ext/standard/tests/array/natcasesort_variation4.phpt
ext/standard/tests/array/rsort_variation5.phpt
ext/standard/tests/array/sort_variation5.phpt
ext/standard/tests/file/readlink_realpath_variation3.phpt
ext/standard/tests/file/readlink_variation1.phpt
tests/basic/req60524.phpt

index 60dea49a104f7b30de4b654b5aa4a00ef2e1b9d8..b76784924507e1c07a26c68eb0548b6139afed9c 100644 (file)
@@ -8,10 +8,6 @@ Daniel Londero <daniel.londero@gmail.com>
 Francesco Trucchia <ft@ideato.it>
 Jacopo Romei <jacopo@sviluppoagile.it>
 #Test Fest Cesena (Italy) on 2009-06-20
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') die("skip this test not for Windows platforms");
-?>
 --FILE--
 <?php
 
index 3bee5a982bcd0cc20981eb0ed5c145a004801122..16c3f733e347c2f88b291780654e05e172eec0d5 100644 (file)
@@ -8,10 +8,6 @@ Daniel Londero <daniel.londero@gmail.com>
 Francesco Trucchia <ft@ideato.it>
 Jacopo Romei <jacopo@sviluppoagile.it>
 #Test Fest Cesena (Italy) on 2009-06-20
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') die("skip this test not for Windows platforms");
-?>
 --FILE--
 <?php
 
index d160b742980083e788cdc70cfbe0468568dc623b..17fc371dd95d074e49b16ff8c68d7b9735f6c5ec 100644 (file)
@@ -8,10 +8,6 @@ Daniel Londero <daniel.londero@gmail.com>
 Francesco Trucchia <ft@ideato.it>
 Jacopo Romei <jacopo@sviluppoagile.it>
 #Test Fest Cesena (Italy) on 2009-06-20
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') die("skip this test not for Windows platforms");
-?>
 --FILE--
 <?php
 
index 632a05334579d9ad765298d1325efab8dc992e24..3b32726d0ac07211418e87c7ea85c5984ba15d36 100644 (file)
@@ -8,10 +8,6 @@ Daniel Londero <daniel.londero@gmail.com>
 Francesco Trucchia <ft@ideato.it>
 Jacopo Romei <jacopo@sviluppoagile.it>
 #Test Fest Cesena (Italy) on 2009-06-20
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') die("skip this test not for Windows platforms");
-?>
 --FILE--
 <?php
 
index 6024225fb1bfe334ef93e8ceade78380fda832e7..e610ba0e98416b4bc883c683e46eab83a1778ff9 100644 (file)
@@ -1,10 +1,5 @@
 --TEST--
 Test array_change_key_case() function : usage variations - Different strings as keys
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
-  die("skip Output tested contains chars that are not shown the same on windows concole (ESC and co)");
-}
 --FILE--
 <?php
 /* Prototype  : array array_change_key_case(array $input [, int $case])
index ea3fc18b7c444c7f58fd67be12f901a5332113ba..15a83954812497925bf339c642ae2b5d5dc14c45 100644 (file)
@@ -1,10 +1,5 @@
 --TEST--
 Test arsort() function : usage variations - sort strings
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
-  die("skip Output tested contains chars that are not shown the same on windows concole (ESC and co)");
-}
 --FILE--
 <?php
 /* Prototype  : bool arsort ( array &$array [, int $asort_flags] )
index c7ca503aea8b7f8bbe0a0701274b3009576cd93e..dfb690ee563f8e8eee65320f7af5d4ec8bf69062 100644 (file)
@@ -1,10 +1,5 @@
 --TEST--
 Test asort() function : usage variations - sort strings
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
-  die("skip Output tested contains chars that are not shown the same on windows concole (ESC and co)");
-}
 --FILE--
 <?php
 /* Prototype  : bool asort ( array &$array [, int $asort_flags] )
index 3af411135c9573b9b164d70053f7ef1e0f9e5226..75986690e5d47049d66df3b016fa2717577ea696 100644 (file)
@@ -1,10 +1,5 @@
 --TEST--
 Test krsort() function : usage variations - sort strings
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
-  die("skip Output tested contains chars that are not shown the same on windows concole (ESC and co)");
-}
 --FILE--
 <?php
 /* Prototype  : bool krsort ( array &$array [, int $sort_flags] )
index 7951c45eb5eb32a2f00c4cfdd41dd89cbad26bbb..c19cb3cf8a02d90a29ff62189cb88bcb901b3d89 100644 (file)
@@ -1,10 +1,5 @@
 --TEST--
 Test ksort() function : usage variations - sort strings
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
-  die("skip Output tested contains chars that are not shown the same on windows concole (ESC and co)");
-}
 --FILE--
 <?php
 /* Prototype  : bool ksort ( array &$array [, int $sort_flags] )
index 472cfe1dc407310dea2479759c9f4a3cdc2aaabf..b8d4d2c220c188ae3de2ffe29589985f470d0e82 100644 (file)
@@ -1,10 +1,5 @@
 --TEST--
 Test natcasesort() function : usage variations - different string types
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
-  die("skip Output tested contains chars that are not shown the same on windows concole (ESC and co)");
-}
 --FILE--
 <?php
 /* Prototype  : bool natcasesort(array &$array_arg)
index f3d7f69041c966988c7fafe5bb78382d8884928d..44a8b2b473118b265e4a6d329c955ba264e228a3 100644 (file)
@@ -1,10 +1,5 @@
 --TEST--
 Test rsort() function : usage variations - String values
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
-  die("skip Output tested contains chars that are not shown the same on windows concole (ESC and co)");
-}
 --FILE--
 <?php
 /* Prototype  : bool rsort(array &$array_arg [, int $sort_flags])
index f5f19874585284d8ee471e028c19a0e886d7f859..613fb1d3b517c14df3e3740932329bab85064af9 100644 (file)
@@ -1,10 +1,5 @@
 --TEST--
 Test sort() function : usage variations - sort strings
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
-  die("skip Output tested contains chars that are not shown the same on windows concole (ESC and co)");
-}
 --FILE--
 <?php
 /* Prototype  : bool sort ( array &$array [, int $sort_flags] )
index 58e58237ef3a10b502875e394169f2eae663013c..b93d49e359aecb48f663cf643d6b0f065d4bac5b 100644 (file)
@@ -1,11 +1,5 @@
 --TEST--
 Test readlink() and realpath() functions: usage variation - invalid args
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
-    die('skip no symlinks on Windows');
-}
-?>
 --FILE--
 <?php
 /* Prototype: string readlink ( string $path );
index 5ca25e8b2e14853c598b4c0045f8bf522c69e09b..a54a246dc3c7914b31958530c54c0410c6b16c16 100644 (file)
@@ -2,12 +2,6 @@
 Test readlink() function: usage variations - invalid filenames
 --CREDITS--
 Dave Kelsey <d_kelsey@uk.ibm.com>
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
-    die('skip no links on Windows');
-}
-?>
 --FILE--
 <?php
 /* Prototype: string readlink ( string $path );
index 670940598ae296f166dcf9eb8be70466a2a6863a..6803e1fd88bfea3ed984eaa626a7defb5acd062f 100644 (file)
@@ -2,12 +2,6 @@
 Req #60524 (Specify temporary directory)
 --INI--
 sys_temp_dir=/path/to/temp/dir
---SKIPIF--
-<?php
-if(PHP_OS_FAMILY === "Windows") {
-    die('skip non-windows only test');
-}
-?>
 --FILE--
 <?php echo sys_get_temp_dir(); ?>
 --EXPECT--