aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-09-23 23:20:02 -0700
committerGravatar Kevin Ballard <kevin@sb.org>2014-09-23 23:20:02 -0700
commitc4a453fb227632bc7d39a2c204670911b8233e1c (patch)
tree6893f5f5dddd114a8fb7fd2bd36404bf02aa9f9f
parent1563501868d8c2cd4b14ff44b58d6a3e8317a559 (diff)
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.
-rw-r--r--tests/interactive.expect.rc2
1 files changed, 1 insertions, 1 deletions
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
}