diff options
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | 2008-09-16 10:03:42 -0700 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-16 10:03:42 -0700 |
commit | 034b37c83f3c27316a1a4666b2521949d89c5d8e (patch) | |
tree | b51f45585c455ff1ff5e61758269a1ab8490d7ce | |
parent | 44589a0c7366c79139bbb7f96b238cb0dcc32d44 (diff) |
udev-test.pl: set non-zero exitcode if tests fail
-rwxr-xr-x | test/udev-test.pl | 4 |
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); |