|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76402 run-tests can never succeed
Submitted: 2018-06-01 11:08 UTC Modified: 2020-09-14 11:50 UTC
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: 180601 at vmlinuz dot nl Assigned: cmb (profile)
Status: Closed Package: mailparse (PECL)
PHP Version: 7.2.6 OS: RHEL6
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.
Block user comment
Status: Assign to:
Bug Type:
From: 180601 at vmlinuz dot nl
New email:
PHP Version: OS:


 [2018-06-01 11:08 UTC] 180601 at vmlinuz dot nl
While building a RPM for this pecl module, I came across errors when running "make test" for tests/011.phpt, tests/bug001.phpt and tests/parse_test_messages.phpt. 

- 011.phpt: this test expects 7 results, but there are only 4 input files bundled in testdata.
- bug001.phpt: this test wants to use a non-existent file testdata/m0001.txt
Above defects mean the test can never succeed.

Also, parse_test_messages.phpt segfaults after running, which could mean there's a memory leak. This segfault does not occur when running $mime=null; just before exitting the test-script in order to forcefully free the memory.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-09-14 11:50 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-09-14 11:50 UTC]
This issue is fixed as of mailparse 3.0.3.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 06:01:30 2024 UTC