runtests: ignore the 'all_proxy' environment variable as well
authorDaniel Stenberg <daniel@haxx.se>
Thu, 14 Jul 2011 09:03:03 +0000 (11:03 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 14 Jul 2011 09:04:00 +0000 (11:04 +0200)
We should probably also make sure that [protocol]_proxy for all possible
protocols libcurl supports are unset.

tests/runtests.pl

index a498963..9a0c071 100755 (executable)
@@ -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});