com php-src: Make more tests run on Windows: ext/spl/tests/SplF ileInfo_getGroup_error.phpt ext/spl/tests/SplFileInfo _getInode_error.phpt
ext/spl/tests/SplFileInfo_getOwn er_error.phpt ext/spl/tests/SplFileInfo_getPerms_erro r.phpt ext/standard/tests/array/array_change_key_case
_variation8.phpt ext/standard/tests/array/arsort_vari ation5.phpt ext/standard/tests/array/asort_variation5 .phpt
ext/standard/tests/array/krsort_variation5.phpt ext/standard/te

From: Date: Mon, 27 May 2019 08:51:53 +0000
Subject: com php-src: Make more tests run on Windows: ext/spl/tests/SplF ileInfo_getGroup_error.phpt ext/spl/tests/SplFileInfo _getInode_error.phpt
ext/spl/tests/SplFileInfo_getOwn er_error.phpt ext/spl/tests/SplFileInfo_getPerms_erro r.phpt ext/standard/tests/array/array_change_key_case
_variation8.phpt ext/standard/tests/array/arsort_vari ation5.phpt ext/standard/tests/array/asort_variation5 .phpt
ext/standard/tests/array/krsort_variation5.phpt ext/standard/te
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106334@lists.php.net to get a copy of this message
Commit: 4bb6f9ba99ac30d603118adc38790f3e72524d5e Author: Gabriel Caruso <carusogabriel34@gmail.com> Sun, 26 May 2019 22:30:05 -0300 Committer: Christoph M. Becker <cmbecker69@gmx.de> Mon, 27 May 2019 10:51:53 +0200 Parents: e6fac86dc35b876d2958ce77c01bb05bd7068ac3 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4bb6f9ba99ac30d603118adc38790f3e72524d5e Log: Make more tests run on Windows Changed paths: M ext/spl/tests/SplFileInfo_getGroup_error.phpt M ext/spl/tests/SplFileInfo_getInode_error.phpt M ext/spl/tests/SplFileInfo_getOwner_error.phpt M ext/spl/tests/SplFileInfo_getPerms_error.phpt M ext/standard/tests/array/array_change_key_case_variation8.phpt M ext/standard/tests/array/arsort_variation5.phpt M ext/standard/tests/array/asort_variation5.phpt M ext/standard/tests/array/krsort_variation5.phpt M ext/standard/tests/array/ksort_variation5.phpt M ext/standard/tests/array/natcasesort_variation4.phpt M ext/standard/tests/array/rsort_variation5.phpt M ext/standard/tests/array/sort_variation5.phpt M ext/standard/tests/file/readlink_realpath_variation3.phpt M ext/standard/tests/file/readlink_variation1.phpt M tests/basic/req60524.phpt

diff --git a/ext/spl/tests/SplFileInfo_getGroup_error.phpt b/ext/spl/tests/SplFileInfo_getGroup_error.phpt index 60dea49..b767849 100644 --- a/ext/spl/tests/SplFileInfo_getGroup_error.phpt +++ b/ext/spl/tests/SplFileInfo_getGroup_error.phpt @@ -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 diff --git a/ext/spl/tests/SplFileInfo_getInode_error.phpt b/ext/spl/tests/SplFileInfo_getInode_error.phpt index 3bee5a9..16c3f73 100644 --- a/ext/spl/tests/SplFileInfo_getInode_error.phpt +++ b/ext/spl/tests/SplFileInfo_getInode_error.phpt @@ -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 diff --git a/ext/spl/tests/SplFileInfo_getOwner_error.phpt b/ext/spl/tests/SplFileInfo_getOwner_error.phpt index d160b74..17fc371 100644 --- a/ext/spl/tests/SplFileInfo_getOwner_error.phpt +++ b/ext/spl/tests/SplFileInfo_getOwner_error.phpt @@ -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 diff --git a/ext/spl/tests/SplFileInfo_getPerms_error.phpt b/ext/spl/tests/SplFileInfo_getPerms_error.phpt index 632a053..3b32726 100644 --- a/ext/spl/tests/SplFileInfo_getPerms_error.phpt +++ b/ext/spl/tests/SplFileInfo_getPerms_error.phpt @@ -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 diff --git a/ext/standard/tests/array/array_change_key_case_variation8.phpt b/ext/standard/tests/array/array_change_key_case_variation8.phpt index 6024225..e610ba0 100644 --- a/ext/standard/tests/array/array_change_key_case_variation8.phpt +++ b/ext/standard/tests/array/array_change_key_case_variation8.phpt @@ -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]) diff --git a/ext/standard/tests/array/arsort_variation5.phpt b/ext/standard/tests/array/arsort_variation5.phpt index ea3fc18..15a8395 100644 --- a/ext/standard/tests/array/arsort_variation5.phpt +++ b/ext/standard/tests/array/arsort_variation5.phpt @@ -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] ) diff --git a/ext/standard/tests/array/asort_variation5.phpt b/ext/standard/tests/array/asort_variation5.phpt index c7ca503..dfb690e 100644 --- a/ext/standard/tests/array/asort_variation5.phpt +++ b/ext/standard/tests/array/asort_variation5.phpt @@ -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] ) diff --git a/ext/standard/tests/array/krsort_variation5.phpt b/ext/standard/tests/array/krsort_variation5.phpt index 3af4111..7598669 100644 --- a/ext/standard/tests/array/krsort_variation5.phpt +++ b/ext/standard/tests/array/krsort_variation5.phpt @@ -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] ) diff --git a/ext/standard/tests/array/ksort_variation5.phpt b/ext/standard/tests/array/ksort_variation5.phpt index 7951c45..c19cb3c 100644 --- a/ext/standard/tests/array/ksort_variation5.phpt +++ b/ext/standard/tests/array/ksort_variation5.phpt @@ -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] ) diff --git a/ext/standard/tests/array/natcasesort_variation4.phpt b/ext/standard/tests/array/natcasesort_variation4.phpt index 472cfe1..b8d4d2c 100644 --- a/ext/standard/tests/array/natcasesort_variation4.phpt +++ b/ext/standard/tests/array/natcasesort_variation4.phpt @@ -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) diff --git a/ext/standard/tests/array/rsort_variation5.phpt b/ext/standard/tests/array/rsort_variation5.phpt index f3d7f69..44a8b2b 100644 --- a/ext/standard/tests/array/rsort_variation5.phpt +++ b/ext/standard/tests/array/rsort_variation5.phpt @@ -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]) diff --git a/ext/standard/tests/array/sort_variation5.phpt b/ext/standard/tests/array/sort_variation5.phpt index f5f1987..613fb1d 100644 --- a/ext/standard/tests/array/sort_variation5.phpt +++ b/ext/standard/tests/array/sort_variation5.phpt @@ -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] ) diff --git a/ext/standard/tests/file/readlink_realpath_variation3.phpt b/ext/standard/tests/file/readlink_realpath_variation3.phpt index 58e5823..b93d49e 100644 --- a/ext/standard/tests/file/readlink_realpath_variation3.phpt +++ b/ext/standard/tests/file/readlink_realpath_variation3.phpt @@ -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 ); diff --git a/ext/standard/tests/file/readlink_variation1.phpt b/ext/standard/tests/file/readlink_variation1.phpt index 5ca25e8..a54a246 100644 --- a/ext/standard/tests/file/readlink_variation1.phpt +++ b/ext/standard/tests/file/readlink_variation1.phpt @@ -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 ); diff --git a/tests/basic/req60524.phpt b/tests/basic/req60524.phpt index 6709405..6803e1f 100644 --- a/tests/basic/req60524.phpt +++ b/tests/basic/req60524.phpt @@ -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--
« previous php.cvs (#106334) next »