runtests.pl: prepend $srcdir to HTTPTLS server config files path

This commit is contained in:
Yang Tse 2012-12-22 00:26:03 +01:00
parent b3d91a147f
commit dfe382c6ae
1 changed files with 2 additions and 2 deletions

View File

@ -1364,8 +1364,8 @@ sub runhttptlsserver {
$flags .= "--http ";
$flags .= "--debug 1 " if($debugprotocol);
$flags .= "--port $port ";
$flags .= "--srppasswd certs/srp-verifier-db ";
$flags .= "--srppasswdconf certs/srp-verifier-conf";
$flags .= "--srppasswd $srcdir/certs/srp-verifier-db ";
$flags .= "--srppasswdconf $srcdir/certs/srp-verifier-conf";
my $cmd = "$httptlssrv $flags > $logfile 2>&1";
my ($httptlspid, $pid2) = startnew($cmd, $pidfile, 10, 1); # fake pidfile