pajoye Mon, 12 Dec 2011 13:34:21 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=320896
Log: - skip on win Changed paths: U php/php-src/branches/PHP_5_3/ext/standard/tests/array/arsort_variation5.phpt U php/php-src/branches/PHP_5_4/ext/standard/tests/array/arsort_variation5.phpt U php/php-src/trunk/ext/standard/tests/array/arsort_variation5.phpt Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/array/arsort_variation5.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/standard/tests/array/arsort_variation5.phpt 2011-12-12 13:31:43 UTC (rev 320895) +++ php/php-src/branches/PHP_5_3/ext/standard/tests/array/arsort_variation5.phpt 2011-12-12 13:34:21 UTC (rev 320896) @@ -1,5 +1,10 @@ --TEST-- -Test arsort() function : usage variations - sort strings +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] ) @@ -76,9 +81,9 @@ string(3) "\cx" ["\a"]=> string(2) "\a" - [" + [" "]=> - string(1) " + string(1) " " [""]=> string(1) "" @@ -108,9 +113,9 @@ string(3) "\cx" ["\a"]=> string(2) "\a" - [" + [" "]=> - string(1) " + string(1) " " [""]=> string(1) "" @@ -140,9 +145,9 @@ string(3) "\cx" ["\a"]=> string(2) "\a" - [" + [" "]=> - string(1) " + string(1) " " [""]=> string(1) "" Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/array/arsort_variation5.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/standard/tests/array/arsort_variation5.phpt 2011-12-12 13:31:43 UTC (rev 320895) +++ php/php-src/branches/PHP_5_4/ext/standard/tests/array/arsort_variation5.phpt 2011-12-12 13:34:21 UTC (rev 320896) @@ -1,5 +1,10 @@ --TEST-- -Test arsort() function : usage variations - sort strings +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] ) Modified: php/php-src/trunk/ext/standard/tests/array/arsort_variation5.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/array/arsort_variation5.phpt 2011-12-12 13:31:43 UTC (rev 320895) +++ php/php-src/trunk/ext/standard/tests/array/arsort_variation5.phpt 2011-12-12 13:34:21 UTC (rev 320896) @@ -1,5 +1,10 @@ --TEST-- -Test arsort() function : usage variations - sort strings +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] ) @@ -76,9 +81,9 @@ string(2) "\a" [""]=> string(1) "" - [" + [" "]=> - string(1) " + string(1) " " [""]=> string(1) "" @@ -108,9 +113,9 @@ string(2) "\a" [""]=> string(1) "" - [" + [" "]=> - string(1) " + string(1) " " [""]=> string(1) "" @@ -140,9 +145,9 @@ string(2) "\a" [""]=> string(1) "" - [" + [" "]=> - string(1) " + string(1) " " [""]=> string(1) ""
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php