php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40485 Test cases fail
Submitted: 2007-02-14 20:50 UTC Modified: 2007-02-23 01:00 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: wdierkes at 5dollarwhitebox dot org Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.4.5 OS: Rhel3 / Rhel4
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: wdierkes at 5dollarwhitebox dot org
New email:
PHP Version: OS:

 

 [2007-02-14 20:50 UTC] wdierkes at 5dollarwhitebox dot org
Description:
------------
The following test cases fail on Rhel3/Rhel4 (i386 and 
x86_64):

bug compatibility: unset($c) with enabled register_globals 
[ext/session/tests/007.phpt]

serializing references test case using globals [ext/session/
tests/019.phpt]

Reproduce code:
---------------
./configure, Then make and make test as usual.


Actual configure line can be provided if necessary... but should be required.

Expected result:
----------------
Test cases should not fail.

Actual result:
--------------
Test cases fail:

============================================================
=========
TIME END 2007-02-14 13:53:00
============================================================
=========
TEST RESULT SUMMARY
------------------------------------------------------------
---------
Exts skipped    :   56
Exts tested     :   30
------------------------------------------------------------
---------
Number of tests :  626
Tests skipped   :  201 (32.1%)
Tests warned    :    0 (0.0%)
Tests failed    :    2 (0.3%)
Tests passed    :  423 (67.6%)
------------------------------------------------------------
---------
Time taken      :   60 seconds
============================================================
=========

============================================================
=========
FAILED TEST SUMMARY
------------------------------------------------------------
---------
bug compatibility: unset($c) with enabled register_globals 
[ext/session/tests/007.phpt]
serializing references test case using globals [ext/session/
tests/019.phpt]
============================================================
=========
>> TEST FAILURE: ../ext/session/tests/007.diff --
001- float(3.14)
001+ 
002- array(1) {
003-   ["c"]=>
004-   &float(3.14)
005- }
006- float(3.14)
007- array(1) {
008-   ["c"]=>
009-   &float(3.14)
010- }
<< ../ext/session/tests/007.diff result ends.
>> TEST FAILURE: ../ext/session/tests/019.diff --
001- array(2) {
001+ 
002-   ["o1"]=>
003-   &object(tfoo)(1) {
004-     ["c"]=>
005-     int(42)
006-   }
007-   ["o2"]=>
008-   &object(tfoo)(1) {
009-     ["c"]=>
010-     int(42)
011-   }
012- }
013- array(2) {
014-   ["o1"]=>
015-   &object(tfoo)(1) {
016-     ["c"]=>
017-     int(44)
018-   }
019-   ["o2"]=>
020-   &object(tfoo)(1) {
021-     ["c"]=>
022-     int(44)
023-   }
024- }
<< ../ext/session/tests/019.diff result ends.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-23 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-02-23 11:22 UTC] spunkmeyer at free dot fr
I have used the snapshot php4-STABLE-200702230930 and it fixed these two FAILs over 4.4.5.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 21:01:30 2024 UTC