mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 00:12:44 +08:00
stdin_nonblocking.py test to not leave background processes
fish_test_helper was sometimes left running.
This commit is contained in:
parent
133e359d70
commit
a7102f179b
|
@ -33,7 +33,8 @@ expect_str("stdin was blocking")
|
||||||
|
|
||||||
# Kill the job and do it again.
|
# Kill the job and do it again.
|
||||||
send("\x03") # ctrl-c
|
send("\x03") # ctrl-c
|
||||||
expect_prompt("")
|
expect_prompt()
|
||||||
sendline(exe_path + " stdin_make_nonblocking")
|
sendline(exe_path + " stdin_make_nonblocking")
|
||||||
expect_str("stdin was blocking")
|
expect_str("stdin was blocking")
|
||||||
send("\x03") # ctrl-c
|
send("\x03") # ctrl-c
|
||||||
|
expect_prompt()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user