mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 02:31:18 -03: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:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user