summaryrefslogtreecommitdiff
path: root/test/lib/completions/unexpand.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/unexpand.exp')
-rw-r--r--test/lib/completions/unexpand.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lib/completions/unexpand.exp b/test/lib/completions/unexpand.exp
index ecb726fd..31822561 100644
--- a/test/lib/completions/unexpand.exp
+++ b/test/lib/completions/unexpand.exp
@@ -11,7 +11,9 @@ proc teardown {} {
setup
-assert_complete_any "unexpand --"
+if {[assert_exec {unexpand --help} "" "" "unsupported"]} {
+ assert_complete_any "unexpand --"
+}; # if
sync_after_int