]> sjero.net Git - wget/blobdiff - tests/run-px
run-px: exit with failure if unknown exit codes.
[wget] / tests / run-px
index 5b2f6b5c38d98f0fd20168bca73f96faae2e6c03..0f058b9e3ec8208646dbb232bac3eb07e6835d1a 100755 (executable)
@@ -148,9 +148,9 @@ my $summary = sub
 }->();
 
 print "\n";
-print $count->('fail')
+print $count->('fail') || $count->('unknown')
   ? colored($summary, 'red')
   : colored($summary, 'green');
 print "\n";
 
-exit $count->('fail');
+exit $count->('fail') + $count->('unknown');