tony2001 Wed Nov 7 12:05:55 2007 UTC Modified files: /php-src/ext/standard/tests/array asort_variation3.phpt max_variation1.phpt max_variation2.phpt sort_variation3.phpt Log: fix tests http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/asort_variation3.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/array/asort_variation3.phpt diff -u php-src/ext/standard/tests/array/asort_variation3.phpt:1.1 php-src/ext/standard/tests/array/asort_variation3.phpt:1.2 --- php-src/ext/standard/tests/array/asort_variation3.phpt:1.1 Mon Nov 5 16:34:54 2007 +++ php-src/ext/standard/tests/array/asort_variation3.phpt Wed Nov 7 12:05:55 2007 @@ -273,9 +273,9 @@ bool(true) array(7) { [7]=> - float(-2147483649) + %s(-2147483649) [4]=> - float(-2147483648) + %s(-2147483648) [3]=> int(-2147483647) [6]=> @@ -285,15 +285,15 @@ [1]=> int(2147483647) [2]=> - float(2147483648) + %s(2147483648) } - Sort_flag = SORT_REGULAR - bool(true) array(7) { [7]=> - float(-2147483649) + %s(-2147483649) [4]=> - float(-2147483648) + %s(-2147483648) [3]=> int(-2147483647) [6]=> @@ -303,15 +303,15 @@ [1]=> int(2147483647) [2]=> - float(2147483648) + %s(2147483648) } - Sort_flag = SORT_NUMERIC - bool(true) array(7) { [7]=> - float(-2147483649) + %s(-2147483649) [4]=> - float(-2147483648) + %s(-2147483648) [3]=> int(-2147483647) [6]=> @@ -321,7 +321,7 @@ [1]=> int(2147483647) [2]=> - float(2147483648) + %s(2147483648) } Done --UEXPECTF-- @@ -538,9 +538,9 @@ bool(true) array(7) { [7]=> - float(-2147483649) + %s(-2147483649) [4]=> - float(-2147483648) + %s(-2147483648) [3]=> int(-2147483647) [6]=> @@ -550,15 +550,15 @@ [1]=> int(2147483647) [2]=> - float(2147483648) + %s(2147483648) } - Sort_flag = SORT_REGULAR - bool(true) array(7) { [7]=> - float(-2147483649) + %s(-2147483649) [4]=> - float(-2147483648) + %s(-2147483648) [3]=> int(-2147483647) [6]=> @@ -568,15 +568,15 @@ [1]=> int(2147483647) [2]=> - float(2147483648) + %s(2147483648) } - Sort_flag = SORT_NUMERIC - bool(true) array(7) { [7]=> - float(-2147483649) + %s(-2147483649) [4]=> - float(-2147483648) + %s(-2147483648) [3]=> int(-2147483647) [6]=> @@ -586,6 +586,6 @@ [1]=> int(2147483647) [2]=> - float(2147483648) + %s(2147483648) } Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/max_variation1.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/array/max_variation1.phpt diff -u php-src/ext/standard/tests/array/max_variation1.phpt:1.2 php-src/ext/standard/tests/array/max_variation1.phpt:1.3 --- php-src/ext/standard/tests/array/max_variation1.phpt:1.2 Fri Oct 26 16:10:16 2007 +++ php-src/ext/standard/tests/array/max_variation1.phpt Wed Nov 7 12:05:55 2007 @@ -21,12 +21,12 @@ echo "\nDone\n"; ?> ---EXPECT-- +--EXPECTF-- *** Testing boundary conditions *** int(2147483646) -float(2147483648) -float(2147483648) +%s(2147483648) +%s(2147483648) int(-2147483646) int(-2147483647) int(-2147483647) @@ -35,12 +35,12 @@ int(21) Done ---UEXPECT-- +--UEXPECTF-- *** Testing boundary conditions *** int(2147483646) -float(2147483648) -float(2147483648) +%s(2147483648) +%s(2147483648) int(-2147483646) int(-2147483647) int(-2147483647) @@ -48,4 +48,4 @@ *** Testing large number of arguments *** int(21) -Done \ No newline at end of file +Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/max_variation2.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/array/max_variation2.phpt diff -u php-src/ext/standard/tests/array/max_variation2.phpt:1.2 php-src/ext/standard/tests/array/max_variation2.phpt:1.3 --- php-src/ext/standard/tests/array/max_variation2.phpt:1.2 Fri Oct 26 16:10:16 2007 +++ php-src/ext/standard/tests/array/max_variation2.phpt Wed Nov 7 12:05:55 2007 @@ -28,7 +28,7 @@ echo "\nDone\n"; ?> ---EXPECT-- +--EXPECTF-- *** Testing arrays *** int(2) @@ -46,14 +46,14 @@ int(3) } int(2147483646) -float(2147483648) -float(2147483648) +%s(2147483648) +%s(2147483648) int(-2147483646) int(-2147483647) int(-2147483647) Done ---UEXPECT-- +--UEXPECTF-- *** Testing arrays *** int(2) @@ -71,10 +71,10 @@ int(3) } int(2147483646) -float(2147483648) -float(2147483648) +%s(2147483648) +%s(2147483648) int(-2147483646) int(-2147483647) int(-2147483647) -Done \ No newline at end of file +Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/sort_variation3.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/array/sort_variation3.phpt diff -u php-src/ext/standard/tests/array/sort_variation3.phpt:1.1 php-src/ext/standard/tests/array/sort_variation3.phpt:1.2 --- php-src/ext/standard/tests/array/sort_variation3.phpt:1.1 Mon Nov 5 15:17:10 2007 +++ php-src/ext/standard/tests/array/sort_variation3.phpt Wed Nov 7 12:05:55 2007 @@ -275,9 +275,9 @@ bool(true) array(7) { [0]=> - float(-2147483649) + %s(-2147483649) [1]=> - float(-2147483648) + %s(-2147483648) [2]=> int(-2147483647) [3]=> @@ -287,15 +287,15 @@ [5]=> int(2147483647) [6]=> - float(2147483648) + %s(2147483648) } - Sort flag = SORT_REGULAR - bool(true) array(7) { [0]=> - float(-2147483649) + %s(-2147483649) [1]=> - float(-2147483648) + %s(-2147483648) [2]=> int(-2147483647) [3]=> @@ -305,15 +305,15 @@ [5]=> int(2147483647) [6]=> - float(2147483648) + %s(2147483648) } - Sort flag = SORT_NUMERIC - bool(true) array(7) { [0]=> - float(-2147483649) + %s(-2147483649) [1]=> - float(-2147483648) + %s(-2147483648) [2]=> int(-2147483647) [3]=> @@ -323,7 +323,7 @@ [5]=> int(2147483647) [6]=> - float(2147483648) + %s(2147483648) } Done --UEXPECTF-- @@ -540,9 +540,9 @@ bool(true) array(7) { [0]=> - float(-2147483649) + %s(-2147483649) [1]=> - float(-2147483648) + %s(-2147483648) [2]=> int(-2147483647) [3]=> @@ -552,15 +552,15 @@ [5]=> int(2147483647) [6]=> - float(2147483648) + %s(2147483648) } - Sort flag = SORT_REGULAR - bool(true) array(7) { [0]=> - float(-2147483649) + %s(-2147483649) [1]=> - float(-2147483648) + %s(-2147483648) [2]=> int(-2147483647) [3]=> @@ -570,15 +570,15 @@ [5]=> int(2147483647) [6]=> - float(2147483648) + %s(2147483648) } - Sort flag = SORT_NUMERIC - bool(true) array(7) { [0]=> - float(-2147483649) + %s(-2147483649) [1]=> - float(-2147483648) + %s(-2147483648) [2]=> int(-2147483647) [3]=> @@ -588,6 +588,6 @@ [5]=> int(2147483647) [6]=> - float(2147483648) + %s(2147483648) } Done
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php