[PATCH] tweak udev-test.pl to report '0' errors if that's what happened.
This commit is contained in:
parent
c124eafa23
commit
e5fbfe0a13
|
@ -124,7 +124,7 @@ system("rm -rf $udev_root");
|
||||||
mkdir($udev_root) || die "unable to create udev_root: $udev_root\n";
|
mkdir($udev_root) || die "unable to create udev_root: $udev_root\n";
|
||||||
|
|
||||||
# test
|
# test
|
||||||
my $error;
|
my $error = 0;
|
||||||
print "\nudev-test will run ".($#tests + 1)." tests:\n\n";
|
print "\nudev-test will run ".($#tests + 1)." tests:\n\n";
|
||||||
|
|
||||||
foreach my $config (@tests) {
|
foreach my $config (@tests) {
|
||||||
|
|
Loading…
Reference in New Issue