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