summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a83b156d78..27ff2a7ce0 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);