aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2020-03-10 03:56:17 +0100
committerMarc Hoersken <info@marc-hoersken.de>2020-03-10 03:56:17 +0100
commit26c5ba0e653c22bc9313fc1d46019f0efd0091ce (patch)
tree8df382b7d3b7dde7bd20185f0d932db67a62562a /tests
parent4d43d06143f6d6ba40d7eac95b4b7b7de5e9b0f4 (diff)
tests/server: fix missing use of exe_ext helper function
Follow up to 9819984 and 3dce984 Reviewed-By: Daniel Stenberg Closes #5064
Diffstat (limited to 'tests')
-rwxr-xr-xtests/rtspserver.pl6
-rwxr-xr-xtests/tftpserver.pl6
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");