From 9e9509e46a9db909e4c0a2ce0ac1ef5c94fcb3a4 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sun, 7 May 2017 15:02:02 +0200 Subject: 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. --- tests/.gitignore | 3 ++- tests/secureserver.pl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/.gitignore b/tests/.gitignore index 89f17d26a..fbbc16485 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -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 diff --git a/tests/secureserver.pl b/tests/secureserver.pl index 1d05e9a4c..c897ee5f1 100755 --- a/tests/secureserver.pl +++ b/tests/secureserver.pl @@ -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"); -- cgit v1.2.3