From a7102f179b1c5d1e361b9d6119d17e10dff0d3e7 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 12 Feb 2022 11:47:02 -0800 Subject: [PATCH] stdin_nonblocking.py test to not leave background processes fish_test_helper was sometimes left running. --- tests/pexpects/stdin_nonblocking.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pexpects/stdin_nonblocking.py b/tests/pexpects/stdin_nonblocking.py index fac8744a2..d1f6a0eeb 100644 --- a/tests/pexpects/stdin_nonblocking.py +++ b/tests/pexpects/stdin_nonblocking.py @@ -33,7 +33,8 @@ expect_str("stdin was blocking") # Kill the job and do it again. send("\x03") # ctrl-c -expect_prompt("") +expect_prompt() sendline(exe_path + " stdin_make_nonblocking") expect_str("stdin was blocking") send("\x03") # ctrl-c +expect_prompt()