1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 18:27:04 +03:00

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