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