From 26c5ba0e653c22bc9313fc1d46019f0efd0091ce Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Tue, 10 Mar 2020 03:56:17 +0100 Subject: tests/server: fix missing use of exe_ext helper function Follow up to 9819984 and 3dce984 Reviewed-By: Daniel Stenberg Closes #5064 --- tests/rtspserver.pl | 6 +++++- tests/tftpserver.pl | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/rtspserver.pl b/tests/rtspserver.pl index 02d2f9f90..026a81950 100755 --- a/tests/rtspserver.pl +++ b/tests/rtspserver.pl @@ -34,6 +34,10 @@ use serverhelp qw( server_logfilename ); +use sshhelp qw( + exe_ext + ); + my $verbose = 0; # set to 1 for debugging my $port = 8990; # just a default my $ipvnum = 4; # default IP version of rtsp server @@ -106,4 +110,4 @@ if(!$logfile) { $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" "; $flags .= "--ipv$ipvnum --port $port --srcdir \"$srcdir\""; -exec("server/rtspd $flags"); +exec("server/rtspd".exe_ext('SRV')." $flags"); diff --git a/tests/tftpserver.pl b/tests/tftpserver.pl index 8c84111bf..c16a9e140 100755 --- a/tests/tftpserver.pl +++ b/tests/tftpserver.pl @@ -34,6 +34,10 @@ use serverhelp qw( server_logfilename ); +use sshhelp qw( + exe_ext + ); + my $verbose = 0; # set to 1 for debugging my $port = 8997; # just a default my $ipvnum = 4; # default IP version of tftp server @@ -107,4 +111,4 @@ if(!$logfile) { $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" "; $flags .= "--ipv$ipvnum --port $port --srcdir \"$srcdir\""; -exec("server/tftpd $flags"); +exec("server/tftpd".exe_ext('SRV')." $flags"); -- cgit v1.2.3