diff options
author | Freddy Vulto <fvulto@gmail.com> | 2010-02-11 23:09:46 +0100 |
---|---|---|
committer | Freddy Vulto <fvulto@gmail.com> | 2010-02-11 23:09:46 +0100 |
commit | 9f107370c494dd565737335f8bef0cfc67bc46a2 (patch) | |
tree | f4392af9a48b1f597397a6114e158154442c0c26 | |
parent | ebdd9cefdc33a80aa51192df66e24616ddb4a9b2 (diff) | |
download | bash-completion-9f107370c494dd565737335f8bef0cfc67bc46a2.tar.gz |
(testsuite) Added `sleep .1' after sending QUIT/INT to bash
See also: http://lists.alioth.debian.org/pipermail/bash-completion-devel/2010-February/002566.html
-rw-r--r-- | test/lib/library.exp | 4 |
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 |