From: Marc Hoersken Date: Sun, 5 Jan 2014 01:22:09 +0000 (+0100) Subject: runtests.pl: check for tstunnel command on Windows X-Git-Tag: curl-7_35_0~116 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d718abd968aeb4;p=thirdparty%2Fcurl.git 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. --- diff --git a/tests/runtests.pl b/tests/runtests.pl index f6a228c7f0..e17465a905 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;