kraghuba                Fri Nov 16 17:04:20 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/standard/tests/array   krsort_variation3.phpt 
                                        ksort_variation3.phpt 
  Log:
  fix tests: removed values that generate diff. output on Linux64
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/krsort_variation3.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/array/krsort_variation3.phpt
diff -u php-src/ext/standard/tests/array/krsort_variation3.phpt:1.1.4.2 
php-src/ext/standard/tests/array/krsort_variation3.phpt:1.1.4.3
--- php-src/ext/standard/tests/array/krsort_variation3.phpt:1.1.4.2     Mon Nov 
12 15:54:35 2007
+++ php-src/ext/standard/tests/array/krsort_variation3.phpt     Fri Nov 16 
17:04:19 2007
@@ -27,10 +27,7 @@
 
   // mixed value array with different types of keys
   array(1 => .0001, 2 => .0021, -3 => -.01, 4 => -1, 5 => 0, 6 => .09, 7 => 2, 
-8 => -.9, 9 => 10.6E-2,
-        -10 => -10.6E-2, 11 => 33),
- 
-  // array keys contains minimum and maximum ranges
-  array( 2147483647 => 1 , 2147483648 => 2, -2147483647 => 3, -2147483648 => 
4, -0 => 5) 
+        -10 => -10.6E-2, 11 => 33)
 );
 
 // set of possible flag values
@@ -262,42 +259,4 @@
   [-10]=>
   float(-0.106)
 }
-
--- Iteration 4 --
-- With defualt sort flag -
-bool(true)
-array(4) {
-  [2147483647]=>
-  int(1)
-  [0]=>
-  int(5)
-  [-2147483647]=>
-  int(3)
-  [-2147483648]=>
-  int(4)
-}
-- Sort flag = SORT_REGULAR -
-bool(true)
-array(4) {
-  [2147483647]=>
-  int(1)
-  [0]=>
-  int(5)
-  [-2147483647]=>
-  int(3)
-  [-2147483648]=>
-  int(4)
-}
-- Sort flag = SORT_NUMERIC -
-bool(true)
-array(4) {
-  [2147483647]=>
-  int(1)
-  [0]=>
-  int(5)
-  [-2147483647]=>
-  int(3)
-  [-2147483648]=>
-  int(4)
-}
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/ksort_variation3.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/array/ksort_variation3.phpt
diff -u php-src/ext/standard/tests/array/ksort_variation3.phpt:1.1.4.2 
php-src/ext/standard/tests/array/ksort_variation3.phpt:1.1.4.3
--- php-src/ext/standard/tests/array/ksort_variation3.phpt:1.1.4.2      Mon Nov 
12 15:55:10 2007
+++ php-src/ext/standard/tests/array/ksort_variation3.phpt      Fri Nov 16 
17:04:19 2007
@@ -1,5 +1,5 @@
 --TEST--
-Test ksort() function : usage variations - sort integer/float values (Bug - 
not raised)
+Test ksort() function : usage variations - sort integer/float values
 --FILE--
 <?php
 /* Prototype  : bool ksort ( array &$array [, int $sort_flags] )
@@ -27,11 +27,7 @@
 
   // mixed value array with different types of keys
   array(1 => .0001, 2 => .0021, -3 => -.01, 4 => -1, 5 => 0, 6 => .09, 7 => 2, 
-8 => -.9, 
-        9 => 10.6E-2, -10 => -10.6E-2, 11 => 33),
- 
-  // array keys contains minimum and maximum ranges
-  array( 2147483647 => 1 , 2147483648 => 2, -2147483647 => 3, -2147483648 => 
4, -0 => 5) 
-
+        9 => 10.6E-2, -10 => -10.6E-2, 11 => 33)
 );
 
 // set of possible flag values
@@ -263,42 +259,4 @@
   [11]=>
   int(33)
 }
-
--- Iteration 4 --
-- With defualt sort flag -
-bool(true)
-array(4) {
-  [-2147483648]=>
-  int(4)
-  [-2147483647]=>
-  int(3)
-  [0]=>
-  int(5)
-  [2147483647]=>
-  int(1)
-}
-- Sort flag = SORT_REGULAR -
-bool(true)
-array(4) {
-  [-2147483648]=>
-  int(4)
-  [-2147483647]=>
-  int(3)
-  [0]=>
-  int(5)
-  [2147483647]=>
-  int(1)
-}
-- Sort flag = SORT_NUMERIC -
-bool(true)
-array(4) {
-  [-2147483648]=>
-  int(4)
-  [-2147483647]=>
-  int(3)
-  [0]=>
-  int(5)
-  [2147483647]=>
-  int(1)
-}
 Done

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to