From 2c8171c38d87ddef31c92a76547d3fdf773a1337 Mon Sep 17 00:00:00 2001 From: David Paleino Date: Thu, 3 Nov 2011 12:32:52 +0100 Subject: Imported Upstream version 1.90 --- test/lib/completions/pvdisplay.exp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/lib/completions/pvdisplay.exp') diff --git a/test/lib/completions/pvdisplay.exp b/test/lib/completions/pvdisplay.exp index b9db558b..7b1df0c3 100644 --- a/test/lib/completions/pvdisplay.exp +++ b/test/lib/completions/pvdisplay.exp @@ -11,7 +11,9 @@ proc teardown {} { setup -assert_complete_any "pvdisplay --" +if {[assert_exec {pvdisplay --help} "" "" "untested"]} { # may fail as non-root + assert_complete_any "pvdisplay --" +} sync_after_int -- cgit v1.2.1