mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
run-px: exit with failure if unknown exit codes.
This commit is contained in:
parent
f3203b8626
commit
46d60a374a
@ -1,5 +1,8 @@
|
|||||||
2009-09-07 Micah Cowan <micah@cowan.name>
|
2009-09-07 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
|
* run-px: Exit with a failure if there were any tests with
|
||||||
|
"unknown" exit statuses.
|
||||||
|
|
||||||
* Test-auth-with-content-disposition.px: New. Test Content-Disposition
|
* Test-auth-with-content-disposition.px: New. Test Content-Disposition
|
||||||
support when HTTP authentication is required.
|
support when HTTP authentication is required.
|
||||||
* run-px, Makefile.am (EXTRA_DIST): Added
|
* run-px, Makefile.am (EXTRA_DIST): Added
|
||||||
|
@ -148,9 +148,9 @@ my $summary = sub
|
|||||||
}->();
|
}->();
|
||||||
|
|
||||||
print "\n";
|
print "\n";
|
||||||
print $count->('fail')
|
print $count->('fail') || $count->('unknown')
|
||||||
? colored($summary, 'red')
|
? colored($summary, 'red')
|
||||||
: colored($summary, 'green');
|
: colored($summary, 'green');
|
||||||
print "\n";
|
print "\n";
|
||||||
|
|
||||||
exit $count->('fail');
|
exit $count->('fail') + $count->('unknown');
|
||||||
|
Loading…
Reference in New Issue
Block a user