pajoye Mon, 12 Dec 2011 14:03:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320902
Log:
- skip on win
Changed paths:
U
php/php-src/branches/PHP_5_3/ext/standard/tests/array/sort_variation5.phpt
U
php/php-src/branches/PHP_5_4/ext/standard/tests/array/sort_variation5.phpt
U php/php-src/trunk/ext/standard/tests/array/sort_variation5.phpt
Modified:
php/php-src/branches/PHP_5_3/ext/standard/tests/array/sort_variation5.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/tests/array/sort_variation5.phpt
2011-12-12 14:02:06 UTC (rev 320901)
+++ php/php-src/branches/PHP_5_3/ext/standard/tests/array/sort_variation5.phpt
2011-12-12 14:03:24 UTC (rev 320902)
@@ -1,5 +1,10 @@
--TEST--
-Test sort() function : usage variations - sort strings
+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] )
@@ -74,7 +79,7 @@
[5]=>
string(1) ""
[6]=>
- string(1) "
+ string(1) "
"
[7]=>
string(2) "\a"
@@ -104,7 +109,7 @@
[5]=>
string(1) ""
[6]=>
- string(1) "
+ string(1) "
"
[7]=>
string(2) "\a"
@@ -134,7 +139,7 @@
[5]=>
string(1) ""
[6]=>
- string(1) "
+ string(1) "
"
[7]=>
string(2) "\a"
Modified:
php/php-src/branches/PHP_5_4/ext/standard/tests/array/sort_variation5.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/array/sort_variation5.phpt
2011-12-12 14:02:06 UTC (rev 320901)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/array/sort_variation5.phpt
2011-12-12 14:03:24 UTC (rev 320902)
@@ -1,5 +1,10 @@
--TEST--
-Test sort() function : usage variations - sort strings
+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] )
Modified: php/php-src/trunk/ext/standard/tests/array/sort_variation5.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/array/sort_variation5.phpt
2011-12-12 14:02:06 UTC (rev 320901)
+++ php/php-src/trunk/ext/standard/tests/array/sort_variation5.phpt
2011-12-12 14:03:24 UTC (rev 320902)
@@ -1,5 +1,10 @@
--TEST--
-Test sort() function : usage variations - sort strings
+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] )
@@ -74,7 +79,7 @@
[5]=>
string(1) ""
[6]=>
- string(1) "
+ string(1) "
"
[7]=>
string(1) ""
@@ -104,7 +109,7 @@
[5]=>
string(1) ""
[6]=>
- string(1) "
+ string(1) "
"
[7]=>
string(1) ""
@@ -134,7 +139,7 @@
[5]=>
string(1) ""
[6]=>
- string(1) "
+ string(1) "
"
[7]=>
string(1) ""
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php