|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
44 + 16 = ?
Subscribe to this entry?

 [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: Sun Aug 09 17:01:23 2020 UTC