From: Operating system: Linux PHP version: trunk-SVN-2011-05-12 (SVN) Package: Unknown/Other Function Bug Type: Bug Bug description:Serialization tests fail to set serialize_precision
Description: ------------ The tests for the serialization module fails to set the INI value for serialize_precision before running the tests, resulting in failed tests if the default precision is used (if the tests are run before make install and no php.ini file is available). Test script: --------------- make test TESTS=ext/standard/tests/serialize Expected result: ---------------- Number of tests : 51 50 Tests skipped : 1 ( 2.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 50 ( 98.0%) (100.0%) Actual result: -------------- Number of tests : 51 50 Tests skipped : 1 ( 2.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 5 ( 9.8%) ( 10.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 45 ( 88.2%) ( 90.0%) -- Edit bug report at http://bugs.php.net/bug.php?id=54719&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54719&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54719&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54719&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54719&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54719&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54719&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54719&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54719&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54719&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54719&r=support Expected behavior: http://bugs.php.net/fix.php?id=54719&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54719&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54719&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54719&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54719&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54719&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54719&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54719&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54719&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54719&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54719&r=mysqlcfg