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:
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 New Issue
Block a user