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