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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user