* 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.
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;