summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-01-16 16:27:14 +0200
committerVille Skyttä <ville.skytta@iki.fi>2010-01-16 17:30:26 +0200
commit942b916aa1e3fc85f2e21bfc079ac29f7142ffdc (patch)
treee93a7a5dc47020fd0049d9101724a748016f4296
parentf8eec776e20cf30cbe220c278b9d8ca2b9813336 (diff)
downloadbash-completion-942b916aa1e3fc85f2e21bfc079ac29f7142ffdc.tar.gz
(testsuite) Don't fail dcop test if a DCOP server is not running.
-rw-r--r--test/lib/completions/dcop.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lib/completions/dcop.exp b/test/lib/completions/dcop.exp
index c62bb3b7..6ed800c5 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