php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63826 Two tests failed
Submitted: 2012-12-21 08:53 UTC Modified: 2012-12-21 17:28 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: laruence@php.net Assigned: pierrick (profile)
Status: Closed Package: Testing related
PHP Version: 5.4.10 OS:
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: laruence@php.net
New email:
PHP Version: OS:

 

 [2012-12-21 08:53 UTC] laruence@php.net
Description:
------------
Bug #63363 (CURL silently accepts boolean value for SSL_VERIFYHOST) 
[ext/curl/tests/bug63363.phpt]
Bug #52820 (writes to fopencookie FILE* not commited when seeking the stream) 
[ext/standard/tests/file/bug52820.phpt]

Test script:
---------------
Bug #63363 (CURL silently accepts boolean value for SSL_VERIFYHOST) [ext/curl/tests/bug63363.phpt]
Bug #52820 (writes to fopencookie FILE* not commited when seeking the stream) [ext/standard/tests/file/bug52820.phpt]

Expected result:
----------------
test pass

Actual result:
--------------
failed with diff:
$ cat ext/curl/tests/bug63363.diff
004+ bool(false)
006+ bool(false)
006- bool(true)
007- bool(true)


$ cat ext/standard/tests/file/bug52820.diff
004+ *   Trying 127.0.0.1...
005+ * Connection refused
006+ * couldn't connect to host at 127.0.0.1:37349
004- *   Trying 127.0.0.1... * Connection refused
005- * couldn't connect to host
011- *   Trying 127.0.0.1... * Connection refused
012- * couldn't connect to host
012+ *   Trying 127.0.0.1...
013+ * Connection refused
014+ * couldn't connect to host at 127.0.0.1:37349
018- *   Trying 127.0.0.1... * Connection refused
019- * couldn't connect to host
020+ *   Trying 127.0.0.1...
021+ * Connection refused
022+ * couldn't connect to host at 127.0.0.1:37349
025- *   Trying 127.0.0.1... * Connection refused
026- * couldn't connect to host
028+ *   Trying 127.0.0.1...
029+ * Connection refused
030+ * couldn't connect to host at 127.0.0.1:37349

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-21 17:28 UTC] pierrick@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Tests were failing only with new version of curl. I updated them to work on all 
versions
 [2012-12-21 17:28 UTC] pierrick@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pierrick
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu May 08 03:01:28 2025 UTC