|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78626 bug27023.phpt never finishes
Submitted: 2019-10-03 08:05 UTC Modified: 2019-11-07 18:54 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: Assigned:
Status: Open Package: Testing related
PHP Version: 7.4.0RC2 OS: OSX
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2019-10-03 08:05 UTC]
when running make test on OSX, bug27023.phpt never ends. 

Compilation is fine, and all tests until then works (fail or success, but they end).

Compilation without curl works, and all tests work (fail or success, but they end).

Test script:
make test, after compilation

Expected result:
test runs (I'll let know if test fail or pass after by submitting the results then).

Actual result:
test hangs


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-03 10:49 UTC]
-Package: Unknown/Other Function +Package: Testing related
 [2019-10-03 10:49 UTC]
Would, say, bug48203.phpt also hang if bug27023.phpt wasn't

Tentatively categorizing as "testing related".
 [2019-10-04 06:45 UTC]
The following bugs are all hanging. 


I'll report when I'm past the bug48203.phpt or not (what is the way to run one phpt ?)
 [2019-10-04 07:43 UTC]
> what is the way to run one phpt ?

If you've built yourself, you can do

    make test TESTS=ext/curl/tests/bug48203.phpt

But I don't think that's necessary.  Given the list of stalling
tests, this looks to be a general issue with
 [2019-10-04 10:19 UTC]
bug27023 runs and passes.
The list of hanging tests is complete.  

I checked again with a new pull and build (just in case).
 [2019-10-04 10:41 UTC]
> bug27023 runs and passes.

Is this a typo, or does the test pass, if you run it as single
test?  In the latter case the used run-tests.php might not support
CONFLICT files - did you use a recent run-tests.php from the 7.4
 [2019-10-04 17:32 UTC]
Yes, my bad. Test bug48203 passes, while bug27023 (and others) still hang. 

Let me compile against the last RC for 7.4
 [2019-11-07 10:52 UTC]
Is there any useful error output if you run the test directly? I.e. via "sapi/cli/php ext/curl/tests/bug27023.phpt"?
 [2019-11-07 18:54 UTC]
Fresh build, and I get this : 

Bug #27023 (CURLOPT_POSTFIELDS does not parse content types for files)
error_reporting = E_ALL & ~E_DEPRECATED
Server is not running

On the other hand, make test TESTS=ext/curl/tests/bug27023.phpt still hangs.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Aug 04 12:01:24 2020 UTC