pajoye Mon, 12 Dec 2011 13:49:21 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320897
Log:
- skip on win
Changed paths:
U
php/php-src/branches/PHP_5_3/ext/standard/tests/array/krsort_variation5.phpt
U
php/php-src/branches/PHP_5_4/ext/standard/tests/array/krsort_variation5.phpt
U php/php-src/trunk/ext/standard/tests/array/krsort_variation5.phpt
Modified:
php/php-src/branches/PHP_5_3/ext/standard/tests/array/krsort_variation5.phpt
===================================================================
---
php/php-src/branches/PHP_5_3/ext/standard/tests/array/krsort_variation5.phpt
2011-12-12 13:34:21 UTC (rev 320896)
+++
php/php-src/branches/PHP_5_3/ext/standard/tests/array/krsort_variation5.phpt
2011-12-12 13:49:21 UTC (rev 320897)
@@ -1,5 +1,10 @@
--TEST--
-Test krsort() function : usage variations - sort strings
+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] )
@@ -76,9 +81,9 @@
string(3) "\cx"
["\a"]=>
string(2) "\a"
- ["
+ ["
"]=>
- string(1) "
+ string(1) "
"
[""]=>
string(1) ""
@@ -106,9 +111,9 @@
string(3) "\cx"
["\a"]=>
string(2) "\a"
- ["
+ ["
"]=>
- string(1) "
+ string(1) "
"
[""]=>
string(1) ""
@@ -136,9 +141,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/krsort_variation5.phpt
===================================================================
---
php/php-src/branches/PHP_5_4/ext/standard/tests/array/krsort_variation5.phpt
2011-12-12 13:34:21 UTC (rev 320896)
+++
php/php-src/branches/PHP_5_4/ext/standard/tests/array/krsort_variation5.phpt
2011-12-12 13:49:21 UTC (rev 320897)
@@ -1,5 +1,10 @@
--TEST--
-Test krsort() function : usage variations - sort strings
+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] )
Modified: php/php-src/trunk/ext/standard/tests/array/krsort_variation5.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/array/krsort_variation5.phpt
2011-12-12 13:34:21 UTC (rev 320896)
+++ php/php-src/trunk/ext/standard/tests/array/krsort_variation5.phpt
2011-12-12 13:49:21 UTC (rev 320897)
@@ -1,5 +1,10 @@
--TEST--
-Test krsort() function : usage variations - sort strings
+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] )
@@ -76,9 +81,9 @@
string(2) "\a"
[""]=>
string(1) ""
- ["
+ ["
"]=>
- string(1) "
+ string(1) "
"
[""]=>
string(1) ""
@@ -106,9 +111,9 @@
string(2) "\a"
[""]=>
string(1) ""
- ["
+ ["
"]=>
- string(1) "
+ string(1) "
"
[""]=>
string(1) ""
@@ -136,9 +141,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