From: greg@kroah.com Date: Mon, 24 Nov 2003 05:17:34 +0000 (-0800) Subject: [PATCH] tweak udev-test.pl to report '0' errors if that's what happened. X-Git-Tag: 007~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5fbfe0a13e11c08ed72b67fa4e72a93bcd5de37;p=systemd [PATCH] tweak udev-test.pl to report '0' errors if that's what happened. --- diff --git a/test/udev-test.pl b/test/udev-test.pl index 9a54b619..613aa792 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -124,7 +124,7 @@ system("rm -rf $udev_root"); mkdir($udev_root) || die "unable to create udev_root: $udev_root\n"; # test -my $error; +my $error = 0; print "\nudev-test will run ".($#tests + 1)." tests:\n\n"; foreach my $config (@tests) {