aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorJulien Chaffraix <julien.chaffraix@gmail.com>2011-02-20 21:10:36 -0800
committerJulien Chaffraix <julien.chaffraix@gmail.com>2011-02-20 21:11:52 -0800
commit9f8e960a1adf4919ee4c83ab18740ecc5700e31d (patch)
tree8893bdc2a115c0f9e734be6748ad433a46c1682b /tests/runtests.pl
parent06fc3569d29718dcdd5647f172237b8cc555be1d (diff)
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.
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl14
1 files changed, 2 insertions, 12 deletions
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;
}