[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:
Ilija Tovilo 2023-05-26 11:37:01 +02:00
parent cba335d61e
commit b5a07a7501
No known key found for this signature in database
GPG key ID: A4F5D403F118200A

View file

@ -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