From b5a07a7501f9cc43170c9675f20a1dcf34b360e5 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Fri, 26 May 2023 11:37:01 +0200 Subject: [PATCH] [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. --- ext/readline/tests/bug77812-readline.phpt | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/readline/tests/bug77812-readline.phpt b/ext/readline/tests/bug77812-readline.phpt index a1868678171..a2d6c212c53 100644 --- a/ext/readline/tests/bug77812-readline.phpt +++ b/ext/readline/tests/bug77812-readline.phpt @@ -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 << --EXPECTF-- -resource(%d) of type (process) Interactive shell php > echo <<