diff options
author | Daniel Mack <github@zonque.org> | 2015-08-31 08:47:49 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-08-31 08:47:49 +0200 |
commit | 6fb350fbe9f9946d34df0196ed501f1ee1565f2c (patch) | |
tree | 06cea12988da6bea2a68607e0035434a31a50f67 | |
parent | cbb14ca063e5b3edaa7b6b90f35b40fd07362acb (diff) | |
parent | 4d55fc5b2116140b8d89cfc68cb793f1163a0f2c (diff) |
Merge pull request #1088 from filbranden/perltest2
test: udev - Signal that test was skipped when running as non-root
-rwxr-xr-x | test/udev-test.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl index 64d7f93444..0a89303570 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -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 |