runtests.pl: check for tstunnel command on Windows
authorMarc Hoersken <info@marc-hoersken.de>
Sun, 5 Jan 2014 01:22:09 +0000 (02:22 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Sun, 5 Jan 2014 01:22:09 +0000 (02:22 +0100)
The Windows console version of stunnel is called "tstunnel", while
running "stunnel" on Windows spawns a new console window which
cannot be handled by the testsuite.

tests/runtests.pl

index f6a228c..e17465a 100755 (executable)
@@ -191,7 +191,7 @@ my $pwd = getcwd();          # current working directory
 my $start;
 my $ftpchecktime=1; # time it took to verify our test FTP server
 
-my $stunnel = checkcmd("stunnel4") || checkcmd("stunnel");
+my $stunnel = checkcmd("stunnel4") || checkcmd("tstunnel") || checkcmd("stunnel");
 my $valgrind = checktestcmd("valgrind");
 my $valgrind_logfile="--logfile";
 my $valgrind_tool;