[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1017b24212af1fedf4f964e426ed2821fc60adb3
Freddy Vulto
fvulto at gmail.com
Sat Oct 23 18:49:24 UTC 2010
The following commit has been merged in the master branch:
commit 1017b24212af1fedf4f964e426ed2821fc60adb3
Author: Freddy Vulto <fvulto at gmail.com>
Date: Sat Oct 23 20:49:02 2010 +0200
(testsuite) Fix eof/timeout message when unknown level
diff --git a/test/config/default.exp b/test/config/default.exp
index 029f11d..53e0185 100644
--- a/test/config/default.exp
+++ b/test/config/default.exp
@@ -3,17 +3,21 @@ expect_after {
eof {
if {[info exists test]} {
fail "$test at eof"
- } else {
+ } elseif {[info level] > 0} {
fail "[info level 1] at eof"
- }
- }
+ } else {
+ fail "eof"
+ }
+ }
timeout {
if {[info exists test]} {
fail "$test at timeout"
- } else {
+ } elseif {[info level] > 0} {
fail "[info level 1] at timeout"
- }
- }
+ } else {
+ fail "timeout"
+ }
+ }
}
--
bash-completion
More information about the Bash-completion-commits
mailing list