summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-08-31 08:47:49 +0200
committerDaniel Mack <github@zonque.org>2015-08-31 08:47:49 +0200
commit6fb350fbe9f9946d34df0196ed501f1ee1565f2c (patch)
tree06cea12988da6bea2a68607e0035434a31a50f67
parentcbb14ca063e5b3edaa7b6b90f35b40fd07362acb (diff)
parent4d55fc5b2116140b8d89cfc68cb793f1163a0f2c (diff)
Merge pull request #1088 from filbranden/perltest2
test: udev - Signal that test was skipped when running as non-root
-rwxr-xr-xtest/udev-test.pl2
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