]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Thu, 26 Apr 2007 23:30:00 +0000 (23:30 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 26 Apr 2007 23:30:00 +0000 (23:30 +0000)
18 files changed:
Zend/tests/double_to_string.phpt
Zend/tests/hex_overflow_32bit.phpt
Zend/tests/oct_overflow_32bit.phpt
ext/filter/tests/010.phpt
ext/filter/tests/011.phpt
ext/filter/tests/bug7715.phpt
ext/json/tests/bug40503.phpt
ext/json/tests/pass001.1.phpt
ext/json/tests/pass001.phpt
ext/reflection/tests/bug29986.phpt
ext/standard/tests/array/array_sum.phpt
ext/standard/tests/array/bug41121.phpt
ext/standard/tests/file/disk.phpt
ext/standard/tests/math/constants.phpt
ext/standard/tests/math/hexdec.phpt
ext/standard/tests/serialize/bug31442.phpt
ext/standard/tests/strings/printf.phpt
ext/standard/tests/strings/ucfirst.phpt

index d5793b192a688b04aa9f7fc5104f57e33320ce5e..d1098e719866ff78bddce1d9604224a6fb03842d 100644 (file)
@@ -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--
index 34306ccc5309496346449645e525d734b310441f..36e9a7e9d32f3c093c25b0f5fff88a8cf3b9add9 100644 (file)
@@ -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--
index 77befbaa7a47f026bb5f22bdbf31e237a8c7a3cf..d27c1f547c5991a51bd4642fda69b1b1a0c429c3 100644 (file)
@@ -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--
index 0ebf66f231f695853e7eb05abe29fa34f5142d61..e868c10c4c39a2f86216923b63e0327cb0170f48 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 filter_var()
+--INI--
+precision=14
 --SKIPIF--
 <?php if (!extension_loaded("filter")) die("skip"); ?>
 --FILE--
index 5ead90213cc38d82aa629747a5465fddf6fd9763..6a9bf1fa34cce7f0c802253f2ba96255eee7c12d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 input_get()
+--INI--
+precision=14
 --SKIPIF--
 <?php if (!extension_loaded("filter")) die("skip"); ?>
 --GET--
index 62e0735218aceab62db09919ea4ccff6129abdc6..4298d505d3f8e3a819153a657c11ba7c00648944 100644 (file)
@@ -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--
index d451eea35d01d883e0b80ffb7fa55be04af3f01a..48f18a4e0f55751103b9d88beac766ef84db8a6b 100644 (file)
@@ -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--
index 5592bef4931637540e77e884ac54a9d9173ec67c..7e270281962d9a5fd2a0fe9948c9842db0ffb37f 100644 (file)
@@ -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');
index f2aba683b06a0871be1ffaf1442350822d8cef76..7a74e163e7d7db52cd65a7b021eb59ffe4516ac5 100644 (file)
@@ -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');
index 997bcf7ccd2acadc85a7d9428420e37305d7a4af..062eff6f92c8caa885c97da8221c7d8dfbdccb5d 100644 (file)
@@ -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--
index a483eaae35695c48bdedb640731268842cf1ff87..08aec2155ea70c9c5a7242f682bf469fba476952 100644 (file)
@@ -1,6 +1,7 @@
 --TEST--
 Test array_sum()
 --INI--
+precision=14
 memory_limit=128M
 --FILE--
 <?php
index 7b9bd4b36a411d81836ed3d72c4db3b9b4004ce3..a03bdaf4ce90051ebb7f0ccc5588f236b7e32805 100644 (file)
@@ -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--
index 7b3f6c0891156e631033b522c70195bcf861caf5..6eef4b4a772a358e1d9b2bba004d89a5068dd86d 100644 (file)
@@ -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') {
index 7b5110f532017dff37354274b1483ed24d6fe66e..deeb785f447ff5a8d46d585c98622c9f0f28b62f 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Math constants
+--INI--
+precision=14
 --FILE--
 <?php
 $constants = array(
index d8ff71f1ceb5652734a547563b510e13688dadbc..d9e644aafc849a03107b7a7f003c7d1152381fa3 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 overflow check for _php_math_basetozval
+--INI--
+precision=14
 --FILE--
 <?php
 
index 3497b278cb1259362f4f2560eb703ebacaf1a8fd..6d451bac975e31ae33099be1faaeabac5c1d1cd7 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #31442 (unserialize broken on 64-bit systems)
+--INI--
+precision=14
 --FILE--
 <?php
 echo unserialize(serialize(2147483648));
index 4e109304df629bde3b778e1d1f80cc3ed08c07ad..13a8ed0713105299e79b5867262a1c9cf0dcfb05 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Test printf() function (32bit)
+--INI--
+precision=14
 --SKIPIF--
 <?php
 if (PHP_INT_MAX > 2147483647) {
index dbcb3ac265d313f9b5265c934d7c00e9ae293334..eebc4cc9c75ec53f86b4191e3039094e38a5084d 100644 (file)
Binary files a/ext/standard/tests/strings/ucfirst.phpt and b/ext/standard/tests/strings/ucfirst.phpt differ