mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-01 15:36:25 +08:00
tests: Add an additional "sleep"
This sometimes fails on Travis because sending things to the background can take a while
This commit is contained in:
parent
103a4ece81
commit
05ddbb1d2e
@ -18,9 +18,10 @@ expect_prompt()
|
|||||||
sendline("cat | cat")
|
sendline("cat | cat")
|
||||||
sendline("set -l foo bar; echo $foo")
|
sendline("set -l foo bar; echo $foo")
|
||||||
expect_str("set -l foo bar; echo $foo")
|
expect_str("set -l foo bar; echo $foo")
|
||||||
sleep(0.1)
|
sleep(0.2)
|
||||||
|
|
||||||
send("\x1A")
|
send("\x1A")
|
||||||
|
sleep(0.2)
|
||||||
expect_prompt()
|
expect_prompt()
|
||||||
sendline("set -l foo bar; echo $foo")
|
sendline("set -l foo bar; echo $foo")
|
||||||
expect_str("bar")
|
expect_str("bar")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user