X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-proxied-https-auth.px;h=1de535786321ed379ddc78f57a80f53e710b490e;hp=2b37f32b2feff30bac3be449244e765635bdcc11;hb=HEAD;hpb=4f3dd6817348433eafde04a3c2946f43364de7ef diff --git a/tests/Test-proxied-https-auth.px b/tests/Test-proxied-https-auth.px index 2b37f32b..1de53578 100755 --- a/tests/Test-proxied-https-auth.px +++ b/tests/Test-proxied-https-auth.px @@ -1,8 +1,9 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; +use WgetFeature qw(https); use WgetTest; # For $WGETPATH. my $cert_path; @@ -14,15 +15,6 @@ if (@ARGV) { $cert_path = "$top_srcdir/tests/certs/server-cert.pem"; } -# 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;