|  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: -
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: 180601 at vmlinuz dot nl Assigned:
Status: Open Package: mailparse (PECL)
PHP Version: 7.2.6 OS: RHEL6
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Jun 03 04:01:28 2020 UTC