From ff7f0ff85c40174f1885ec61fa4ab6b73d02b555 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 14 Nov 2010 12:02:39 +0100 Subject: tests: convert 'if test "$VERBOSE" = yes; then' to test ... && --- tests/misc/selinux | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'tests/misc/selinux') diff --git a/tests/misc/selinux b/tests/misc/selinux index 3729024fa..0a8259fef 100755 --- a/tests/misc/selinux +++ b/tests/misc/selinux @@ -16,16 +16,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -if test "$VERBOSE" = yes; then - set -x - chcon --version - cp --version - ls --version - mv --version - stat --version -fi - . $srcdir/test-lib.sh +test "$VERBOSE" = yes && for i in chcon cp ls mv stat; do $i --version; done + require_root_ require_selinux_ skip_if_mcstransd_is_running_ -- cgit v1.2.3-70-g09d2