[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 942b916aa1e3fc85f2e21bfc079ac29f7142ffdc

Ville Skyttä ville.skytta at iki.fi
Sat Jan 16 15:30:54 UTC 2010


The following commit has been merged in the master branch:
commit 942b916aa1e3fc85f2e21bfc079ac29f7142ffdc
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Jan 16 16:27:14 2010 +0200

    (testsuite) Don't fail dcop test if a DCOP server is not running.

diff --git a/test/lib/completions/dcop.exp b/test/lib/completions/dcop.exp
index c62bb3b..6ed800c 100644
--- a/test/lib/completions/dcop.exp
+++ b/test/lib/completions/dcop.exp
@@ -11,7 +11,9 @@ proc teardown {} {
 setup
 
 
-assert_complete_any "dcop "
+if {[assert_exec {dcop} words]} {
+    assert_complete $words "dcop "
+}; # if
 
 
 sync_after_int

-- 
bash-completion



More information about the Bash-completion-commits mailing list