cvs: php-src /ext/standard/tests/array krsort_variation3.phpt ksort_variation3.phpt

From: Date: Fri, 16 Nov 2007 17:11:01 +0000
Subject: cvs: php-src /ext/standard/tests/array krsort_variation3.phpt ksort_variation3.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-47215@lists.php.net to get a copy of this message
kraghuba Fri Nov 16 17:11:01 2007 UTC Modified files: /php-src/ext/standard/tests/array ksort_variation3.phpt krsort_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/ksort_variation3.phpt?r1=1.1&r2=1.2&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 php-src/ext/standard/tests/array/ksort_variation3.phpt:1.2 --- php-src/ext/standard/tests/array/ksort_variation3.phpt:1.1 Mon Nov 12 15:49:29 2007 +++ php-src/ext/standard/tests/array/ksort_variation3.phpt Fri Nov 16 17:11:01 2007 @@ -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,44 +259,6 @@ [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 --UEXPECTF-- *** Testing ksort() : usage variations *** @@ -504,42 +462,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 http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/krsort_variation3.phpt?r1=1.1&r2=1.2&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 php-src/ext/standard/tests/array/krsort_variation3.phpt:1.2 --- php-src/ext/standard/tests/array/krsort_variation3.phpt:1.1 Mon Nov 12 15:44:47 2007 +++ php-src/ext/standard/tests/array/krsort_variation3.phpt Fri Nov 16 17:11:01 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,44 +259,6 @@ [-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 --UEXPECTF-- *** Testing krsort() : usage variations *** @@ -503,42 +462,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

« previous php.cvs (#47215) next »