summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-23 21:17:34 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:02 -0700
commite5fbfe0a13e11c08ed72b67fa4e72a93bcd5de37 (patch)
treef3d24866b0f63cdf878f2a6d17ed54b6d3975916
parentc124eafa238b34a2e79100d3eb1fb143b7e8cb8b (diff)
[PATCH] tweak udev-test.pl to report '0' errors if that's what happened.
-rw-r--r--test/udev-test.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 9a54b6192a..613aa792d4 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) {