diff options
author | Kevin Ballard <kevin@sb.org> | 2014-09-23 23:20:02 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-09-23 23:20:02 -0700 |
commit | c4a453fb227632bc7d39a2c204670911b8233e1c (patch) | |
tree | 6893f5f5dddd114a8fb7fd2bd36404bf02aa9f9f /tests/interactive.expect.rc | |
parent | 1563501868d8c2cd4b14ff44b58d6a3e8317a559 (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.
Diffstat (limited to 'tests/interactive.expect.rc')
-rw-r--r-- | tests/interactive.expect.rc | 2 |
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 } |