Edit report at https://bugs.php.net/bug.php?id=61950&edit=1
ID: 61950 Updated by: r...@php.net Reported by: r...@php.net Summary: Failing tests -Status: Open +Status: Closed Type: Bug Package: CGI/CLI related Operating System: GNU/Linux (Fedora 16) PHP Version: 5.4.2 -Assigned To: +Assigned To: remi Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. The issue was in a broken xdebug version Previous Comments: ------------------------------------------------------------------------ [2012-05-05 07:42:01] r...@php.net Description: ------------ Most of the tests provided in sapi/cgi/tests are failing. Failing tests (001 to 009) use var_dump(`$php ...`); which break expected output (CR/LF). Others working tests (010, 011) use echo(`$php ...`); The attached patch proposal use passthru, which seems another working solution. With this patch applied, all the 11 tests return "PASS". Test script: --------------- $ pear run-tests 001.phpt Expected result: ---------------- Running 1 tests PASS version string[001.phpt] TOTAL TIME: 00:00 1 PASSED TESTS 0 SKIPPED TESTS Actual result: -------------- Running 1 tests FAIL version string[001.phpt] wrote log to "/dev/shm/php-5.4.2/sapi/cgi/tests/run-tests.log" TOTAL TIME: 00:01 0 PASSED TESTS 0 SKIPPED TESTS 1 FAILED TESTS: 001.phpt $ cat 001.out string(151) "PHP 5.4.2 (cgi-fcgi) (built: May 4 2012 14:44:54)\nCopyright (c) 1997-2012 The PHP Group\nZend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies\n" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61950&edit=1