mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
[skip ci] Fix race condition in readline test
The var_dump can be preceded by the "Interactive shell" log. The var_dump does not add much to the test anyway, so just remove it.
This commit is contained in:
parent
cba335d61e
commit
b5a07a7501
1 changed files with 0 additions and 2 deletions
|
@ -13,7 +13,6 @@ $php = getenv('TEST_PHP_EXECUTABLE');
|
|||
$ini = getenv('TEST_PHP_EXTRA_ARGS');
|
||||
$descriptorspec = [['pipe', 'r'], STDOUT, STDERR];
|
||||
$proc = proc_open("$php $ini -a", $descriptorspec, $pipes);
|
||||
var_dump($proc);
|
||||
fwrite($pipes[0], "echo <<<FOO\n bar\n FOO;\n");
|
||||
fwrite($pipes[0], "print(<<<FOO\nxx\nFOO);\n");
|
||||
fwrite($pipes[0], "echo <<<FOO\n xxx\n FOO;\nFOO\n;\n");
|
||||
|
@ -23,7 +22,6 @@ fclose($pipes[0]);
|
|||
proc_close($proc);
|
||||
?>
|
||||
--EXPECTF--
|
||||
resource(%d) of type (process)
|
||||
Interactive shell
|
||||
|
||||
php > echo <<<FOO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue