From c4a453fb227632bc7d39a2c204670911b8233e1c Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Tue, 23 Sep 2014 23:20:02 -0700 Subject: Try to fix the Travis test failures It seems expect prioritizes the first pattern in the list, instead of the pattern that matches earliest in the buffer. That seems pretty stupid, but let's try moving the prompt pattern to the end and see if that fixes the Travis failures. --- tests/interactive.expect.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/interactive.expect.rc') diff --git a/tests/interactive.expect.rc b/tests/interactive.expect.rc index abfa41c5..b2a0ddbf 100644 --- a/tests/interactive.expect.rc +++ b/tests/interactive.expect.rc @@ -143,7 +143,7 @@ proc expect_prompt {args} { } else { log_info "expecting prompt $prompt_counter" } - set expargs [concat $prompt_pat [list $prompt_action] $expargs] + set expargs [concat $expargs $prompt_pat [list $prompt_action]] expect {*}$expargs incr prompt_counter } -- cgit v1.2.3