]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Mon, 1 Oct 2007 10:25:50 +0000 (10:25 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 1 Oct 2007 10:25:50 +0000 (10:25 +0000)
ext/standard/tests/strings/join_error.phpt
ext/standard/tests/strings/sprintf_basic7.phpt
ext/standard/tests/strings/sprintf_basic8.phpt
ext/standard/tests/strings/sprintf_variation28.phpt
ext/standard/tests/strings/sprintf_variation29.phpt
ext/standard/tests/strings/sprintf_variation34.phpt
ext/standard/tests/strings/sprintf_variation35.phpt
ext/standard/tests/strings/sprintf_variation4.phpt
ext/standard/tests/strings/sprintf_variation40.phpt
ext/standard/tests/strings/sprintf_variation41.phpt
ext/standard/tests/strings/sprintf_variation44.phpt

index 8113d30dfba15d1d3c0ff27865cfc0d00623add6..d227b73d34869a6aadeddb896b3877326c24ac7a 100644 (file)
@@ -45,6 +45,6 @@ NULL
 
 -- 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
index 4ce60441832a4188daf70fc3673ae1d18856b11d..56bae8bd8d8ddaae842aa948ad1d75f56eb37c3c 100644 (file)
@@ -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 ...]])
index 63469e8f045d3f0ce71431a4c49f5cf975271a12..bb9ecd1a66246256a3ec2843116a6c58a075f48c 100644 (file)
@@ -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 ...]])
index 08237f9289a12730cffbd7b613b84d2ae4fa2e59..8fad68b0d9019b138e76b0c98f2c29203f583177 100644 (file)
@@ -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(11) "17777777777"
 string(30) "                   17777777777"
 string(4) "0-7]"
 string(1) "o"
-Done
\ No newline at end of file
+Done
index 271c6a905279d299d3b17fbf8d5d707076ceb2fa..87ee835b76fee35a06374ab06aac09fd544548c8 100644 (file)
@@ -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(7) "4002620"
 string(30) "                       4002620"
 string(4) "0-7]"
 string(1) "o"
-Done
\ No newline at end of file
+Done
index 51443d8e6ae667ba101374ee40eb5cc6523d7b23..c6186b67807cc13f24af49871a98e2e62365dce6 100644 (file)
@@ -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(8) "7fffffff"
 string(30) "                      7fffffff"
 string(10) "0-9A-Fa-f]"
 string(1) "x"
-Done
\ No newline at end of file
+Done
index c8f03cd05fea56799ee767d128b2952f24832578..ca6ba891dd12f9a9eeb6f31bd0e4fd77c359c282 100644 (file)
@@ -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(6) "100590"
 string(30) "                        100590"
 string(10) "0-9A-Fa-f]"
 string(1) "x"
-Done
\ No newline at end of file
+Done
index 3c8fab39b19ebe00dddc92ea742401083964087c..7fc66f910ed93df62330072928eaa15781fb9c4e 100644 (file)
@@ -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(7) "1050000"
 string(30) "                       1050000"
 string(4) "0-9]"
 string(1) "d"
-Done
\ No newline at end of file
+Done
index 9c17e6c766cc5a5f25dbddeded23047a6d9955e6..0da6a10b8a5aa4c688ed8ea4caf47904f93d7a5a 100644 (file)
@@ -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(10) "2147483647"
 string(30) "                    2147483647"
 string(4) "0-9]"
 string(1) "u"
-Done
\ No newline at end of file
+Done
index 481712d0fab368167c4d2c0cceb3b9ae224a24c7..219ea0f025afc22b3a4b0fd67098669ffabce9e8 100644 (file)
@@ -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(7) "1050000"
 string(30) "                       1050000"
 string(4) "0-9]"
 string(1) "u"
-Done
\ No newline at end of file
+Done
index 6659d40301cbe8dd06fa29500c5de112d8be02a4..fd4e0bc5a607f598b9978e0bacc759995b1ed9a9 100644 (file)
@@ -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(4) "   0"
 string(30) "                             0"
 string(4) "0-9]"
 string(1) "u"
-Done
\ No newline at end of file
+Done