From d718abd968aeb4f8351f2862059cae0ed37cb3c2 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sun, 5 Jan 2014 02:22:09 +0100 Subject: [PATCH] runtests.pl: check for tstunnel command on Windows 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index f6a228c7f..e17465a90 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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;