aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-01-18 18:04:20 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-01-18 18:04:20 +0000
commit3bae748256260290a49d6a9a12fe53089854f600 (patch)
tree3d91ba2258a29de59687e9e24959c486dd5e788a /tests/runtests.pl
parent521c4b303dd2b501780e74d533e8f7b6778eb119 (diff)
Added precheck that curl supports the 'openssl' engine in test 307.
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index d43657131..bc36a92cb 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -1111,6 +1111,7 @@ sub subVariables {
$$thing =~ s/%PWD/$pwd/g;
$$thing =~ s/%TFTPPORT/$TFTPPORT/g;
$$thing =~ s/%TFTP6PORT/$TFTP6PORT/g;
+ $$thing =~ s/%CURL/$CURL/g;
# The purpose of FTPTIME2 and FTPTIME3 is to provide times that can be
# used for time-out tests and that whould work on most hosts as these
@@ -1226,6 +1227,7 @@ sub singletest {
my @precheck = getpart("client", "precheck");
$cmd = $precheck[0];
chomp $cmd;
+ subVariables \$cmd;
if($cmd) {
my @o = `$cmd 2>/dev/null`;
if($o[0]) {