(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
This commit is contained in:
Freddy Vulto 2010-02-11 23:09:46 +01:00
parent ebdd9cefdc
commit 9f107370c4

View File

@ -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