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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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)

Add a Patch

Pull Requests

Add a Pull Request

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: Sat Apr 27 04:01:30 2024 UTC