diff options
author | Antony Dovgal <tony2001@php.net> | 2007-04-26 23:30:00 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2007-04-26 23:30:00 +0000 |
commit | 66859a74deae600a355d43afb0876cf189877396 (patch) | |
tree | 88f02f73c9d566cdcea77bff2741ef7acf797a59 | |
parent | ef32c956f7fa5b9a2c1b1a038ca147a91a86ef67 (diff) | |
download | php-git-66859a74deae600a355d43afb0876cf189877396.tar.gz |
fix tests
-rw-r--r-- | Zend/tests/double_to_string.phpt | 2 | ||||
-rw-r--r-- | Zend/tests/hex_overflow_32bit.phpt | 2 | ||||
-rw-r--r-- | Zend/tests/oct_overflow_32bit.phpt | 2 | ||||
-rw-r--r-- | ext/filter/tests/010.phpt | 2 | ||||
-rw-r--r-- | ext/filter/tests/011.phpt | 2 | ||||
-rw-r--r-- | ext/filter/tests/bug7715.phpt | 2 | ||||
-rw-r--r-- | ext/json/tests/bug40503.phpt | 2 | ||||
-rw-r--r-- | ext/json/tests/pass001.1.phpt | 2 | ||||
-rw-r--r-- | ext/json/tests/pass001.phpt | 2 | ||||
-rw-r--r-- | ext/reflection/tests/bug29986.phpt | 2 | ||||
-rw-r--r-- | ext/standard/tests/array/array_sum.phpt | 1 | ||||
-rw-r--r-- | ext/standard/tests/array/bug41121.phpt | 2 | ||||
-rw-r--r-- | ext/standard/tests/file/disk.phpt | 2 | ||||
-rw-r--r-- | ext/standard/tests/math/constants.phpt | 2 | ||||
-rw-r--r-- | ext/standard/tests/math/hexdec.phpt | 2 | ||||
-rwxr-xr-x | ext/standard/tests/serialize/bug31442.phpt | 2 | ||||
-rwxr-xr-x | ext/standard/tests/strings/printf.phpt | 2 | ||||
-rw-r--r-- | ext/standard/tests/strings/ucfirst.phpt | bin | 6034 -> 6055 bytes |
18 files changed, 33 insertions, 0 deletions
diff --git a/Zend/tests/double_to_string.phpt b/Zend/tests/double_to_string.phpt index d5793b192a..d1098e7198 100644 --- a/Zend/tests/double_to_string.phpt +++ b/Zend/tests/double_to_string.phpt @@ -1,5 +1,7 @@ --TEST-- double to string conversion tests +--INI-- +precision=14 --SKIPIF-- <?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- diff --git a/Zend/tests/hex_overflow_32bit.phpt b/Zend/tests/hex_overflow_32bit.phpt index 34306ccc53..36e9a7e9d3 100644 --- a/Zend/tests/hex_overflow_32bit.phpt +++ b/Zend/tests/hex_overflow_32bit.phpt @@ -1,5 +1,7 @@ --TEST-- testing integer overflow (32bit) +--INI-- +precision=14 --SKIPIF-- <?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- diff --git a/Zend/tests/oct_overflow_32bit.phpt b/Zend/tests/oct_overflow_32bit.phpt index 77befbaa7a..d27c1f547c 100644 --- a/Zend/tests/oct_overflow_32bit.phpt +++ b/Zend/tests/oct_overflow_32bit.phpt @@ -1,5 +1,7 @@ --TEST-- testing integer overflow (32bit) +--INI-- +precision=14 --SKIPIF-- <?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- diff --git a/ext/filter/tests/010.phpt b/ext/filter/tests/010.phpt index 0ebf66f231..e868c10c4c 100644 --- a/ext/filter/tests/010.phpt +++ b/ext/filter/tests/010.phpt @@ -1,5 +1,7 @@ --TEST-- filter_var() +--INI-- +precision=14 --SKIPIF-- <?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- diff --git a/ext/filter/tests/011.phpt b/ext/filter/tests/011.phpt index 5ead90213c..6a9bf1fa34 100644 --- a/ext/filter/tests/011.phpt +++ b/ext/filter/tests/011.phpt @@ -1,5 +1,7 @@ --TEST-- input_get() +--INI-- +precision=14 --SKIPIF-- <?php if (!extension_loaded("filter")) die("skip"); ?> --GET-- diff --git a/ext/filter/tests/bug7715.phpt b/ext/filter/tests/bug7715.phpt index 62e0735218..4298d505d3 100644 --- a/ext/filter/tests/bug7715.phpt +++ b/ext/filter/tests/bug7715.phpt @@ -1,5 +1,7 @@ --TEST-- bug 7715, floats value with integer or incomplete input +--INI-- +precision=14 --SKIPIF-- <?php if (!extension_loaded("filter")) die("skip"); ?> --FILE-- diff --git a/ext/json/tests/bug40503.phpt b/ext/json/tests/bug40503.phpt index d451eea35d..48f18a4e0f 100644 --- a/ext/json/tests/bug40503.phpt +++ b/ext/json/tests/bug40503.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #40503 (json_encode() value corruption on 32bit systems with overflown values) +--INI-- +precision=14 --SKIPIF-- <?php if (!extension_loaded("json")) print "skip"; ?> --FILE-- diff --git a/ext/json/tests/pass001.1.phpt b/ext/json/tests/pass001.1.phpt index 5592bef493..7e27028196 100644 --- a/ext/json/tests/pass001.1.phpt +++ b/ext/json/tests/pass001.1.phpt @@ -1,5 +1,7 @@ --TEST-- JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json) +--INI-- +precision=14 --SKIPIF-- <?php if (!extension_loaded('json')) die('skip: json extension not available'); diff --git a/ext/json/tests/pass001.phpt b/ext/json/tests/pass001.phpt index f2aba683b0..7a74e163e7 100644 --- a/ext/json/tests/pass001.phpt +++ b/ext/json/tests/pass001.phpt @@ -1,5 +1,7 @@ --TEST-- JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json) +--INI-- +precision=14 --SKIPIF-- <?php if (!extension_loaded('json')) die('skip: json extension not available'); diff --git a/ext/reflection/tests/bug29986.phpt b/ext/reflection/tests/bug29986.phpt index 997bcf7ccd..062eff6f92 100644 --- a/ext/reflection/tests/bug29986.phpt +++ b/ext/reflection/tests/bug29986.phpt @@ -1,5 +1,7 @@ --TEST-- Reflection Bug #29986 (Class constants won't work with predefined constants when using ReflectionClass) +--INI-- +precision=14 --SKIPIF-- <?php extension_loaded('reflection') or die('skip'); ?> --FILE-- diff --git a/ext/standard/tests/array/array_sum.phpt b/ext/standard/tests/array/array_sum.phpt index a483eaae35..08aec2155e 100644 --- a/ext/standard/tests/array/array_sum.phpt +++ b/ext/standard/tests/array/array_sum.phpt @@ -1,6 +1,7 @@ --TEST-- Test array_sum() --INI-- +precision=14 memory_limit=128M --FILE-- <?php diff --git a/ext/standard/tests/array/bug41121.phpt b/ext/standard/tests/array/bug41121.phpt index 7b9bd4b36a..a03bdaf4ce 100644 --- a/ext/standard/tests/array/bug41121.phpt +++ b/ext/standard/tests/array/bug41121.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #41121 (range() overflow handling for large numbers on 32bit machines) +--INI-- +precision=14 --SKIPIF-- <?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- diff --git a/ext/standard/tests/file/disk.phpt b/ext/standard/tests/file/disk.phpt index 7b3f6c0891..6eef4b4a77 100644 --- a/ext/standard/tests/file/disk.phpt +++ b/ext/standard/tests/file/disk.phpt @@ -1,5 +1,7 @@ --TEST-- disk_total_space() and disk_free_space() tests +--INI-- +precision=14 --SKIPIF-- <?php if (substr(PHP_OS, 0, 3) == 'WIN') { diff --git a/ext/standard/tests/math/constants.phpt b/ext/standard/tests/math/constants.phpt index 7b5110f532..deeb785f44 100644 --- a/ext/standard/tests/math/constants.phpt +++ b/ext/standard/tests/math/constants.phpt @@ -1,5 +1,7 @@ --TEST-- Math constants +--INI-- +precision=14 --FILE-- <?php $constants = array( diff --git a/ext/standard/tests/math/hexdec.phpt b/ext/standard/tests/math/hexdec.phpt index d8ff71f1ce..d9e644aafc 100644 --- a/ext/standard/tests/math/hexdec.phpt +++ b/ext/standard/tests/math/hexdec.phpt @@ -1,5 +1,7 @@ --TEST-- overflow check for _php_math_basetozval +--INI-- +precision=14 --FILE-- <?php diff --git a/ext/standard/tests/serialize/bug31442.phpt b/ext/standard/tests/serialize/bug31442.phpt index 3497b278cb..6d451bac97 100755 --- a/ext/standard/tests/serialize/bug31442.phpt +++ b/ext/standard/tests/serialize/bug31442.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #31442 (unserialize broken on 64-bit systems) +--INI-- +precision=14 --FILE-- <?php echo unserialize(serialize(2147483648)); diff --git a/ext/standard/tests/strings/printf.phpt b/ext/standard/tests/strings/printf.phpt index 4e109304df..13a8ed0713 100755 --- a/ext/standard/tests/strings/printf.phpt +++ b/ext/standard/tests/strings/printf.phpt @@ -1,5 +1,7 @@ --TEST-- Test printf() function (32bit) +--INI-- +precision=14 --SKIPIF-- <?php if (PHP_INT_MAX > 2147483647) { diff --git a/ext/standard/tests/strings/ucfirst.phpt b/ext/standard/tests/strings/ucfirst.phpt Binary files differindex dbcb3ac265..eebc4cc9c7 100644 --- a/ext/standard/tests/strings/ucfirst.phpt +++ b/ext/standard/tests/strings/ucfirst.phpt |