mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
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:
parent
4b9fece9f4
commit
11785c2bf4
2 changed files with 1 additions and 3 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue