Attempt to fix the fg pexpect test

Hypothesize that ^Z is being sent too quickly and add a sleep.
This commit is contained in:
ridiculousfish 2020-07-31 15:31:55 -07:00
parent d823eee339
commit 290236f7e7

View file

@ -18,6 +18,7 @@ expect_prompt()
sendline("cat | cat")
sendline("set -l foo bar; echo $foo")
expect_str("set -l foo bar; echo $foo")
sleep(0.1)
send("\x1A")
expect_prompt()