summaryrefslogtreecommitdiff
path: root/test/lib/library.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/library.exp')
-rw-r--r--test/lib/library.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lib/library.exp b/test/lib/library.exp
index 00dd8469..8de12d9f 100644
--- a/test/lib/library.exp
+++ b/test/lib/library.exp
@@ -836,6 +836,10 @@ proc sync_after_int {{prompt /@}} {
set test "Sync after INT"
sleep .1
send \031\003; # QUIT/INT
+ # Wait to allow bash to become ready
+ # See also: http://lists.alioth.debian.org/pipermail/bash-completion-devel/
+ # 2010-February/002566.html
+ sleep .1
# NOTE: Regexp `.*' causes `expect' to discard previous unknown output.
# This is necessary if a completion doesn't match expectations.
# For instance with `filetype_xspec' completion (e.g. `kdvi') if