runtests: ignore the 'all_proxy' environment variable as well

We should probably also make sure that [protocol]_proxy for all possible
protocols libcurl supports are unset.
This commit is contained in:
Daniel Stenberg 2011-07-14 11:03:03 +02:00
parent 6e3285d5b1
commit 9c1f50c583

View File

@ -308,7 +308,7 @@ $SIG{TERM} = \&catch_zap;
# to prevent them to interfere with our testing!
my $protocol;
foreach $protocol (('ftp', 'http', 'ftps', 'https', 'no')) {
foreach $protocol (('ftp', 'http', 'ftps', 'https', 'no', 'all')) {
my $proxy = "${protocol}_proxy";
# clear lowercase version
delete $ENV{$proxy} if($ENV{$proxy});