aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl18
1 files changed, 5 insertions, 13 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index e37241523..806ee986d 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -651,7 +651,9 @@ sub stopserver {
#
foreach my $server (@killservers) {
if($run{$server}) {
- $pidlist .= "$run{$server} ";
+ # we must prepend a space since $pidlist may already contain
+ # a pid
+ $pidlist .= " $run{$server}";
$run{$server} = 0;
}
$runcert{$server} = 0 if($runcert{$server});
@@ -2146,8 +2148,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 +2476,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;
}