Merge pull request #1088 from filbranden/perltest2

test: udev - Signal that test was skipped when running as non-root
This commit is contained in:
Daniel Mack 2015-08-31 08:47:49 +02:00
commit 6fb350fbe9

View file

@ -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