summaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-12-16 17:33:53 +0100
committerYang Tse <yangsita@gmail.com>2010-12-16 17:33:53 +0100
commitf6ebae65d6c4b6bbea2f93ef6cba5fe62f2cad43 (patch)
treec6d804b3c300d9f0c077048569514d175dd6f9cd /tests/runtests.pl
parenta0a70dc21d6b34a64864252e9104c9461468aab5 (diff)
downloadcurl-f6ebae65d6c4b6bbea2f93ef6cba5fe62f2cad43.tar.gz
axTLS integration: silence runtests.pl perl warning
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 966eb0dd2..2ec18bf78 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -697,7 +697,7 @@ sub verifyhttp {
$flags .= "--silent ";
$flags .= "--verbose ";
$flags .= "--globoff ";
- $flags .= "-1 " if($has_axtls == 1);
+ $flags .= "-1 " if($has_axtls);
$flags .= "--insecure " if($proto eq 'https');
$flags .= "\"$proto://$ip:$port/${bonus}verifiedserver\"";
@@ -2618,7 +2618,7 @@ sub singletest {
}
elsif(!$tool) {
# run curl, add --verbose for debug information output
- $cmd = "-1 ".$cmd if(exists $feature{"SSL"} && $has_axtls == 1);
+ $cmd = "-1 ".$cmd if(exists $feature{"SSL"} && ($has_axtls));
$cmdargs ="$out --include --verbose --trace-time $cmd";
}
else {