]> err.no Git - systemd/commitdiff
[PATCH] tweak udev-test.pl to report '0' errors if that's what happened.
authorgreg@kroah.com <greg@kroah.com>
Mon, 24 Nov 2003 05:17:34 +0000 (21:17 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:02 +0000 (21:13 -0700)
test/udev-test.pl

index 9a54b6192aa286a0b65d693f9d4a889abe437558..613aa792d433f8bbf6cb29ff608e9de5245eaa17 100644 (file)
@@ -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) {