Subject: | protect t/23connect.t against https proxy |
The attached patch fixes an issue in the test, where I have
https_proxy set. I did not check whether this would be applicable to
other tests, too. With the patch, all tests pass here (perl 5.8.8, gcc
4.1.2, Solaris 8, RedHat Enterprise Linux 3.0).
Cheers,
Marek
Subject: | HTTP-Proxy.diff |
diff -ruN HTTP-Proxy-0.23/t/23connect.t HTTP-Proxy-0.23p1/t/23connect.t
--- HTTP-Proxy-0.23/t/23connect.t 2008-09-04 02:31:33.000000000 +0200
+++ HTTP-Proxy-0.23p1/t/23connect.t 2008-09-04 18:51:51.000000000 +0200
@@ -8,7 +8,7 @@
if $^O eq 'MSWin32';
# make sure we inherit no upstream proxy
-delete $ENV{$_} for qw( http_proxy HTTP_PROXY );
+delete $ENV{$_} for qw( http_proxy HTTP_PROXY https_proxy HTTPS_PROXY );
# test CONNECT
my $test = Test::Builder->new;