summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-01-30 15:04:02 +0200
committerVille Skyttä <ville.skytta@iki.fi>2010-01-30 15:04:02 +0200
commitdb9c42340c20c9a5e2bee7ab08d7ef014f0bd140 (patch)
tree4e233b3edfacb3b69453aaad7449dcdc510fa7b5
parent8f4111d5a43500775bbb22edcf0d6cc02280566b (diff)
downloadbash-completion-db9c42340c20c9a5e2bee7ab08d7ef014f0bd140.tar.gz
(testsuite) Sync fmt test with other longopt only tests.
-rw-r--r--test/lib/completions/fmt.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lib/completions/fmt.exp b/test/lib/completions/fmt.exp
index fcf8a922..28570682 100644
--- a/test/lib/completions/fmt.exp
+++ b/test/lib/completions/fmt.exp
@@ -11,7 +11,9 @@ proc teardown {} {
setup
-assert_complete_any "fmt -"
+if {[assert_exec {fmt --help} "" "" "unsupported"]} {
+ assert_complete_any "fmt -"
+}; # if
sync_after_int