make bind unit tests more robust on travis-ci

My previous commit failed in the travis-ci environment despite passing on my
local computer. This appears to be due to expect timing out looking for the
expected input. See if increasing the expect timeout slightly fixes the
problem.
This commit is contained in:
Kurtis Rader 2016-01-17 19:14:54 -08:00
parent 4b9fece9f4
commit 11785c2bf4
2 changed files with 1 additions and 3 deletions

View file

@ -76,8 +76,6 @@ send "ddi"
send "inserted\r" send "inserted\r"
expect_prompt -re {\r\nfail: no normal modediinserted\r\n} { expect_prompt -re {\r\nfail: no normal modediinserted\r\n} {
puts "vi normal mode: shortened escape timeout" puts "vi normal mode: shortened escape timeout"
} -nounmatched -re {\r\nfail} {
puts stderr "vi normal mode fail: shortened escape timeout"
} unmatched { } unmatched {
puts stderr "couldn't find expected output: no normal mode" puts stderr "couldn't find expected output: no normal mode"
} }

View file

@ -5,7 +5,7 @@ log_file -noappend interactive.tmp.log
set fish ../fish set fish ../fish
set timeout 4 set timeout 5
set send_human {.05 .1 5 .02 .2} set send_human {.05 .1 5 .02 .2}