[test suite] only run user/group parity tests for non-root owner user

This commit is contained in:
Michael Rash
2016-12-09 19:17:24 -05:00
parent 643805967e
commit 8b734049a7
+2 -1
View File
@@ -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')) {