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:
Fabian Homborg 2020-08-08 13:20:50 +02:00
parent 103a4ece81
commit 05ddbb1d2e

View File

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