From 9f8e960a1adf4919ee4c83ab18740ecc5700e31d Mon Sep 17 00:00:00 2001 From: Julien Chaffraix Date: Sun, 20 Feb 2011 21:10:36 -0800 Subject: tests: Cleaned up netrc testing. Removed the "netrc_debug" keyword replaced with --netrc-file additions. Removed the debug code from Curl_parsenetrc as it is superseeded by --netrc-file. --- tests/runtests.pl | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'tests/runtests.pl') diff --git a/tests/runtests.pl b/tests/runtests.pl index e37241523..d931b15b4 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2146,8 +2146,6 @@ sub checksystem { if($feat =~ /debug/i) { # curl was built with --enable-debug $debug_build = 1; - # set the NETRC debug env - $ENV{'CURL_DEBUG_NETRC'} = "$LOGDIR/netrc"; } if($feat =~ /SSL/i) { # ssl enabled @@ -2476,20 +2474,12 @@ sub singletest { next; } } - elsif($f eq "axTLS") { - if($has_axtls) { - next; - } - } - elsif($f eq "netrc_debug") { - if($debug_build) { + elsif($f eq "axTLS") { + if($has_axtls) { next; } } elsif($f eq "unittest") { - # Unit tests should set the netrc filename directly, thus unset the - # environment variable. - delete($ENV{'CURL_DEBUG_NETRC'}) if $ENV{'CURL_DEBUG_NETRC'}; if($debug_build) { next; } -- cgit v1.2.3