Merge pull request #1088 from filbranden/perltest2
test: udev - Signal that test was skipped when running as non-root
This commit is contained in:
+1
-1
@@ -1487,7 +1487,7 @@ sub run_test {
|
||||
# due to mknod restrictions
|
||||
if (!($<==0)) {
|
||||
print "Must have root permissions to run properly.\n";
|
||||
exit;
|
||||
exit($EXIT_TEST_SKIP);
|
||||
}
|
||||
|
||||
# skip the test when running in a container
|
||||
|
||||
Reference in New Issue
Block a user