Merge pull request #1088 from filbranden/perltest2
test: udev - Signal that test was skipped when running as non-root
This commit is contained in:
commit
6fb350fbe9
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue