From 8b734049a73f9b25ff944f0d295450cd3f685397 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Fri, 9 Dec 2016 19:17:24 -0500 Subject: [PATCH] [test suite] only run user/group parity tests for non-root owner user --- test/test-fwknop.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test-fwknop.pl b/test/test-fwknop.pl index 08b46df9..6fd37ffe 100755 --- a/test/test-fwknop.pl +++ b/test/test-fwknop.pl @@ -7705,7 +7705,8 @@ sub init() { } push @tests_to_exclude, qr/sudo/ unless $sudo_conf_testing; - push @tests_to_exclude, qr/user.*\sparity/ unless $username; + push @tests_to_exclude, qr/user.*\sparity/ + unless $username and $username ne 'root'; ### see if the 'nobody' user is on the system unless (getpwnam('nobody')) {