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()