php.net |  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: -
Votes:2
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
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 19 00:01:39 2019 UTC