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