aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-01-17 19:14:54 -0800
committerGravatar Kurtis Rader <krader@skepticism.us>2016-01-17 19:14:54 -0800
commit11785c2bf4f443985d809cece26b7e8a92b15c92 (patch)
tree531c1cc75e5ad8d48fa75f20a5250808ee1b4a46 /tests
parent4b9fece9f48615f2e8068054c60763e844415a7c (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/bind.expect2
-rw-r--r--tests/interactive.expect.rc2
2 files changed, 1 insertions, 3 deletions
diff --git a/tests/bind.expect b/tests/bind.expect
index 9bde0689..15557163 100644
--- a/tests/bind.expect
+++ b/tests/bind.expect
@@ -76,8 +76,6 @@ send "ddi"
send "inserted\r"
expect_prompt -re {\r\nfail: no normal modediinserted\r\n} {
puts "vi normal mode: shortened escape timeout"
-} -nounmatched -re {\r\nfail} {
- puts stderr "vi normal mode fail: shortened escape timeout"
} unmatched {
puts stderr "couldn't find expected output: no normal mode"
}
diff --git a/tests/interactive.expect.rc b/tests/interactive.expect.rc
index c148b562..1949d328 100644
--- a/tests/interactive.expect.rc
+++ b/tests/interactive.expect.rc
@@ -5,7 +5,7 @@ log_file -noappend interactive.tmp.log
set fish ../fish
-set timeout 4
+set timeout 5
set send_human {.05 .1 5 .02 .2}