tests: give each stunnel.conf file a unique name

Otherwise, subsequent uses of stunnel overwrite the configuration file
of previous invocations so they can no longer be inspected.
This commit is contained in:
Dan Fandrich 2017-05-07 15:02:02 +02:00
parent dc1a1b5055
commit 9e9509e46a
2 changed files with 3 additions and 2 deletions

3
tests/.gitignore vendored
View File

@ -10,9 +10,10 @@ curl_sftp_cmds
curl_sftp_config
curl_ssh_config
curl_sshd_config
ftps_stunnel.conf
https_stunnel.conf
log
runtests.html
runtests.pdf
stunnel.conf
testcurl.html
testcurl.pdf

View File

@ -181,7 +181,7 @@ if(!$logfile) {
$logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
}
$conffile = "$path/stunnel.conf";
$conffile = "$path/${proto}_stunnel.conf";
$capath = abs_path($path);
$certfile = "$srcdir/". ($stuncert?"certs/$stuncert":"stunnel.pem");