mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Don't run Test-proxied-https-auth.px if HTTPS support wasn't built.
This commit is contained in:
parent
c98aeb0cc3
commit
a0a9da4698
@ -2,7 +2,8 @@
|
||||
|
||||
* Test-proxied-https-auth.px: Shift exit code so it falls in the
|
||||
lower bits, and actually fails when it should. Use dynamic port,
|
||||
instead of static port.
|
||||
instead of static port. Only run the test if our Wget was built
|
||||
with HTTPS support.
|
||||
|
||||
* certs/server-cert.pem, certs/server-key.pem: Apparently failed
|
||||
to add these from 1.11.x repo. Fixed.
|
||||
|
@ -3,6 +3,16 @@ use warnings;
|
||||
use strict;
|
||||
|
||||
use WgetTest; # For $WGETPATH.
|
||||
|
||||
# Have we even built an HTTPS-supporting Wget?
|
||||
{
|
||||
my @version_lines = `${WgetTest::WGETPATH} --version`;
|
||||
unless (grep /\+(openssl|gnutls)/, @version_lines) {
|
||||
print "Not running test: Wget under test doesn't support HTTPS.\n";
|
||||
exit 0;
|
||||
}
|
||||
}
|
||||
|
||||
use HTTP::Daemon;
|
||||
use HTTP::Request;
|
||||
use IO::Socket::SSL;
|
||||
|
Loading…
Reference in New Issue
Block a user