tony2001 Mon Oct 1 10:25:50 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/standard/tests/strings join_error.phpt sprintf_basic7.phpt sprintf_basic8.phpt sprintf_variation28.phpt sprintf_variation29.phpt sprintf_variation34.phpt sprintf_variation35.phpt sprintf_variation4.phpt sprintf_variation40.phpt sprintf_variation41.phpt sprintf_variation44.phpt Log: fix tests
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/join_error.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u Index: php-src/ext/standard/tests/strings/join_error.phpt diff -u php-src/ext/standard/tests/strings/join_error.phpt:1.1.2.2 php-src/ext/standard/tests/strings/join_error.phpt:1.1.2.3 --- php-src/ext/standard/tests/strings/join_error.phpt:1.1.2.2 Sat Sep 29 09:10:18 2007 +++ php-src/ext/standard/tests/strings/join_error.phpt Mon Oct 1 10:25:50 2007 @@ -45,6 +45,6 @@ -- Testing join() with less than expected no. of arguments -- -Warning: join(): Argument to join must be an array in %s on line %d +Warning: join(): Argument to implode must be an array. in %s on line %d NULL Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_basic7.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: php-src/ext/standard/tests/strings/sprintf_basic7.phpt diff -u php-src/ext/standard/tests/strings/sprintf_basic7.phpt:1.1.2.1 php-src/ext/standard/tests/strings/sprintf_basic7.phpt:1.1.2.2 --- php-src/ext/standard/tests/strings/sprintf_basic7.phpt:1.1.2.1 Sat Sep 29 14:13:53 2007 +++ php-src/ext/standard/tests/strings/sprintf_basic7.phpt Mon Oct 1 10:25:50 2007 @@ -1,5 +1,11 @@ --TEST-- Test sprintf() function : basic functionality - unsigned format +--SKIPIF-- +<?php +if (PHP_INT_SIZE != 4) { + die("skip this test is for 32bit platform only"); +} +?> --FILE-- <?php /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_basic8.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: php-src/ext/standard/tests/strings/sprintf_basic8.phpt diff -u php-src/ext/standard/tests/strings/sprintf_basic8.phpt:1.1.2.1 php-src/ext/standard/tests/strings/sprintf_basic8.phpt:1.1.2.2 --- php-src/ext/standard/tests/strings/sprintf_basic8.phpt:1.1.2.1 Sat Sep 29 14:13:53 2007 +++ php-src/ext/standard/tests/strings/sprintf_basic8.phpt Mon Oct 1 10:25:50 2007 @@ -1,5 +1,11 @@ --TEST-- Test sprintf() function : basic functionality - octal format +--SKIPIF-- +<?php +if (PHP_INT_SIZE != 4) { + die("skip this test is for 32bit platform only"); +} +?> --FILE-- <?php /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_variation28.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: php-src/ext/standard/tests/strings/sprintf_variation28.phpt diff -u php-src/ext/standard/tests/strings/sprintf_variation28.phpt:1.1.2.1 php-src/ext/standard/tests/strings/sprintf_variation28.phpt:1.1.2.2 --- php-src/ext/standard/tests/strings/sprintf_variation28.phpt:1.1.2.1 Sat Sep 29 14:13:53 2007 +++ php-src/ext/standard/tests/strings/sprintf_variation28.phpt Mon Oct 1 10:25:50 2007 @@ -1,5 +1,11 @@ --TEST-- Test sprintf() function : usage variations - octal formats with integer values +--SKIPIF-- +<?php +if (PHP_INT_SIZE != 4) { + die("skip this test is for 32bit platform only"); +} +?> --FILE-- <?php /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) @@ -323,4 +329,4 @@ string(30) " 17777777777" string(4) "0-7]" string(1) "o" -Done \ No newline at end of file +Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_variation29.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: php-src/ext/standard/tests/strings/sprintf_variation29.phpt diff -u php-src/ext/standard/tests/strings/sprintf_variation29.phpt:1.1.2.1 php-src/ext/standard/tests/strings/sprintf_variation29.phpt:1.1.2.2 --- php-src/ext/standard/tests/strings/sprintf_variation29.phpt:1.1.2.1 Sat Sep 29 14:13:53 2007 +++ php-src/ext/standard/tests/strings/sprintf_variation29.phpt Mon Oct 1 10:25:50 2007 @@ -1,5 +1,11 @@ --TEST-- Test sprintf() function : usage variations - octal formats with float values +--SKIPIF-- +<?php +if (PHP_INT_SIZE != 4) { + die("skip this test is for 32bit platform only"); +} +?> --FILE-- <?php /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) @@ -163,4 +169,4 @@ string(30) " 4002620" string(4) "0-7]" string(1) "o" -Done \ No newline at end of file +Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_variation34.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: php-src/ext/standard/tests/strings/sprintf_variation34.phpt diff -u php-src/ext/standard/tests/strings/sprintf_variation34.phpt:1.1.2.1 php-src/ext/standard/tests/strings/sprintf_variation34.phpt:1.1.2.2 --- php-src/ext/standard/tests/strings/sprintf_variation34.phpt:1.1.2.1 Sat Sep 29 14:13:53 2007 +++ php-src/ext/standard/tests/strings/sprintf_variation34.phpt Mon Oct 1 10:25:50 2007 @@ -1,5 +1,11 @@ --TEST-- Test sprintf() function : usage variations - hexa formats with integer values +--SKIPIF-- +<?php +if (PHP_INT_SIZE != 4) { + die("skip this test is for 32bit platform only"); +} +?> --FILE-- <?php /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) @@ -323,4 +329,4 @@ string(30) " 7fffffff" string(10) "0-9A-Fa-f]" string(1) "x" -Done \ No newline at end of file +Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_variation35.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: php-src/ext/standard/tests/strings/sprintf_variation35.phpt diff -u php-src/ext/standard/tests/strings/sprintf_variation35.phpt:1.1.2.1 php-src/ext/standard/tests/strings/sprintf_variation35.phpt:1.1.2.2 --- php-src/ext/standard/tests/strings/sprintf_variation35.phpt:1.1.2.1 Sat Sep 29 14:13:53 2007 +++ php-src/ext/standard/tests/strings/sprintf_variation35.phpt Mon Oct 1 10:25:50 2007 @@ -1,5 +1,11 @@ --TEST-- Test sprintf() function : usage variations - hexa formats with float values +--SKIPIF-- +<?php +if (PHP_INT_SIZE != 4) { + die("skip this test is for 32bit platform only"); +} +?> --FILE-- <?php /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) @@ -228,4 +234,4 @@ string(30) " 100590" string(10) "0-9A-Fa-f]" string(1) "x" -Done \ No newline at end of file +Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_variation4.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: php-src/ext/standard/tests/strings/sprintf_variation4.phpt diff -u php-src/ext/standard/tests/strings/sprintf_variation4.phpt:1.1.2.1 php-src/ext/standard/tests/strings/sprintf_variation4.phpt:1.1.2.2 --- php-src/ext/standard/tests/strings/sprintf_variation4.phpt:1.1.2.1 Sat Sep 29 14:13:53 2007 +++ php-src/ext/standard/tests/strings/sprintf_variation4.phpt Mon Oct 1 10:25:50 2007 @@ -1,5 +1,11 @@ --TEST-- Test sprintf() function : usage variations - int formats with float values +--SKIPIF-- +<?php +if (PHP_INT_SIZE != 4) { + die("skip this test is for 32bit platform only"); +} +?> --FILE-- <?php /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) @@ -228,4 +234,4 @@ string(30) " 1050000" string(4) "0-9]" string(1) "d" -Done \ No newline at end of file +Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_variation40.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: php-src/ext/standard/tests/strings/sprintf_variation40.phpt diff -u php-src/ext/standard/tests/strings/sprintf_variation40.phpt:1.1.2.1 php-src/ext/standard/tests/strings/sprintf_variation40.phpt:1.1.2.2 --- php-src/ext/standard/tests/strings/sprintf_variation40.phpt:1.1.2.1 Sat Sep 29 14:13:53 2007 +++ php-src/ext/standard/tests/strings/sprintf_variation40.phpt Mon Oct 1 10:25:50 2007 @@ -1,5 +1,11 @@ --TEST-- Test sprintf() function : usage variations - unsigned formats with integer values +--SKIPIF-- +<?php +if (PHP_INT_SIZE != 4) { + die("skip this test is for 32bit platform only"); +} +?> --FILE-- <?php /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) @@ -324,4 +330,4 @@ string(30) " 2147483647" string(4) "0-9]" string(1) "u" -Done \ No newline at end of file +Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_variation41.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: php-src/ext/standard/tests/strings/sprintf_variation41.phpt diff -u php-src/ext/standard/tests/strings/sprintf_variation41.phpt:1.1.2.1 php-src/ext/standard/tests/strings/sprintf_variation41.phpt:1.1.2.2 --- php-src/ext/standard/tests/strings/sprintf_variation41.phpt:1.1.2.1 Sat Sep 29 14:13:53 2007 +++ php-src/ext/standard/tests/strings/sprintf_variation41.phpt Mon Oct 1 10:25:50 2007 @@ -1,5 +1,11 @@ --TEST-- Test sprintf() function : usage variations - unsigned formats with float values +--SKIPIF-- +<?php +if (PHP_INT_SIZE != 4) { + die("skip this test is for 32bit platform only"); +} +?> --FILE-- <?php /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) @@ -307,4 +313,4 @@ string(30) " 1050000" string(4) "0-9]" string(1) "u" -Done \ No newline at end of file +Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_variation44.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: php-src/ext/standard/tests/strings/sprintf_variation44.phpt diff -u php-src/ext/standard/tests/strings/sprintf_variation44.phpt:1.1.2.1 php-src/ext/standard/tests/strings/sprintf_variation44.phpt:1.1.2.2 --- php-src/ext/standard/tests/strings/sprintf_variation44.phpt:1.1.2.1 Sat Sep 29 14:13:53 2007 +++ php-src/ext/standard/tests/strings/sprintf_variation44.phpt Mon Oct 1 10:25:50 2007 @@ -1,5 +1,11 @@ --TEST-- Test sprintf() function : usage variations - unsigned formats with string values +--SKIPIF-- +<?php +if (PHP_INT_SIZE != 4) { + die("skip this test is for 32bit platform only"); +} +?> --FILE-- <?php /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) @@ -356,4 +362,4 @@ string(30) " 0" string(4) "0-9]" string(1) "u" -Done \ No newline at end of file +Done
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php