diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/rtspserver.pl | 6 | ||||
-rwxr-xr-x | 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"); |