diff --git a/test/lib/library.exp b/test/lib/library.exp index 8de12d9f..4d23b183 100644 --- a/test/lib/library.exp +++ b/test/lib/library.exp @@ -840,13 +840,13 @@ proc sync_after_int {{prompt /@}} { # 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 - # one expects `.txt' as a completion (wrong, because it isn't - # there), the unmatched completions need to be cleaned up. + # 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 + # one expects `.txt' as a completion (wrong, because it isn't + # there), the unmatched completions need to be cleaned up. expect -re ".*$prompt$" -}; # sync_after_int() +} proc sync_after_tab {} {