chiark / gitweb /
[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 9a54b61..613aa79 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) {