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