aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2008-09-16 10:03:42 -0700
committerKay Sievers <kay.sievers@vrfy.org>2008-09-16 10:03:42 -0700
commit034b37c83f3c27316a1a4666b2521949d89c5d8e (patch)
treeb51f45585c455ff1ff5e61758269a1ab8490d7ce /test
parent44589a0c7366c79139bbb7f96b238cb0dcc32d44 (diff)
downloadudev-034b37c83f3c27316a1a4666b2521949d89c5d8e.tar.gz
udev-test.pl: set non-zero exitcode if tests fail
Diffstat (limited to 'test')
-rwxr-xr-xtest/udev-test.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index a83b156d..27ff2a7c 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -1896,3 +1896,7 @@ system("rm -rf $udev_root");
unlink($udev_rules);
unlink($udev_conf);
+if ($error > 0) {
+ exit(1);
+}
+exit(0);