pajoye                                   Mon, 12 Dec 2011 13:53:38 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=320898

Log:
- skip on win

Changed paths:
    U   
php/php-src/branches/PHP_5_3/ext/standard/tests/array/ksort_variation5.phpt
    U   
php/php-src/branches/PHP_5_4/ext/standard/tests/array/ksort_variation5.phpt
    U   php/php-src/trunk/ext/standard/tests/array/ksort_variation5.phpt

Modified: 
php/php-src/branches/PHP_5_3/ext/standard/tests/array/ksort_variation5.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/tests/array/ksort_variation5.phpt 
2011-12-12 13:49:21 UTC (rev 320897)
+++ php/php-src/branches/PHP_5_3/ext/standard/tests/array/ksort_variation5.phpt 
2011-12-12 13:53:38 UTC (rev 320898)
@@ -1,5 +1,10 @@
 --TEST--
-Test ksort() function : usage variations - sort strings
+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] )
@@ -78,9 +83,9 @@
   string(1) ""
   [""]=>
   string(1) ""
-  ["
+  ["
 "]=>
-  string(1) "
+  string(1) "
 "
   ["\a"]=>
   string(2) "\a"
@@ -108,9 +113,9 @@
   string(1) ""
   [""]=>
   string(1) ""
-  ["
+  ["
 "]=>
-  string(1) "
+  string(1) "
 "
   ["\a"]=>
   string(2) "\a"
@@ -138,9 +143,9 @@
   string(1) ""
   [""]=>
   string(1) ""
-  ["
+  ["
 "]=>
-  string(1) "
+  string(1) "
 "
   ["\a"]=>
   string(2) "\a"

Modified: 
php/php-src/branches/PHP_5_4/ext/standard/tests/array/ksort_variation5.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/array/ksort_variation5.phpt 
2011-12-12 13:49:21 UTC (rev 320897)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/array/ksort_variation5.phpt 
2011-12-12 13:53:38 UTC (rev 320898)
@@ -1,5 +1,10 @@
 --TEST--
-Test ksort() function : usage variations - sort strings
+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] )

Modified: php/php-src/trunk/ext/standard/tests/array/ksort_variation5.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/array/ksort_variation5.phpt    
2011-12-12 13:49:21 UTC (rev 320897)
+++ php/php-src/trunk/ext/standard/tests/array/ksort_variation5.phpt    
2011-12-12 13:53:38 UTC (rev 320898)
@@ -1,5 +1,10 @@
 --TEST--
-Test ksort() function : usage variations - sort strings
+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] )
@@ -78,9 +83,9 @@
   string(1) ""
   [""]=>
   string(1) ""
-  ["
+  ["
 "]=>
-  string(1) "
+  string(1) "
 "
   [""]=>
   string(1) ""
@@ -108,9 +113,9 @@
   string(1) ""
   [""]=>
   string(1) ""
-  ["
+  ["
 "]=>
-  string(1) "
+  string(1) "
 "
   [""]=>
   string(1) ""
@@ -138,9 +143,9 @@
   string(1) ""
   [""]=>
   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

Reply via email to