From 11785c2bf4f443985d809cece26b7e8a92b15c92 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sun, 17 Jan 2016 19:14:54 -0800 Subject: 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. --- tests/bind.expect | 2 -- tests/interactive.expect.rc | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'tests') 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} -- cgit v1.2.3