php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54719 Serialization tests fail to set serialize_precision
Submitted: 2011-05-12 13:23 UTC Modified: 2011-06-08 15:20 UTC
From: mats dot lindh at gmail dot com Assigned: tyrael (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: trunk-SVN-2011-05-12 (SVN) OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mats dot lindh at gmail dot com
New email:
PHP Version: OS:

 

 [2011-05-12 13:23 UTC] mats dot lindh at gmail dot com
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%)


Patches

php-fix-serialize-tests.diff (last revision 2011-05-12 11:23 UTC by mats dot lindh at gmail dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-08 15:20 UTC] danielc@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: tyrael
 [2011-06-08 15:20 UTC] danielc@php.net
Patch applied by tyrael on 2011-05-16.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 03:01:27 2024 UTC