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: upstream/7.37.1~833 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d718abd968aeb4f8351f2862059cae0ed37cb3c2;p=platform%2Fupstream%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 f6a228c..e17465a 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;