From 034b37c83f3c27316a1a4666b2521949d89c5d8e Mon Sep 17 00:00:00 2001 From: Alan Jenkins Date: Tue, 16 Sep 2008 10:03:42 -0700 Subject: [PATCH] udev-test.pl: set non-zero exitcode if tests fail --- test/udev-test.pl | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.5