aboutsummaryrefslogtreecommitdiff
path: root/tests/ftpsserver.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ftpsserver.pl')
-rw-r--r--tests/ftpsserver.pl13
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/ftpsserver.pl b/tests/ftpsserver.pl
index d9256775d..3a3797b82 100644
--- a/tests/ftpsserver.pl
+++ b/tests/ftpsserver.pl
@@ -7,19 +7,14 @@
use strict;
-use stunnel;
-
-my $stunnel = &checkstunnel;
-
-if(!$stunnel) {
- exit;
-}
+my $stunnel = "stunnel";
#
# -p pemfile
# -P pid dir
# -d listen port
# -r target port
+# -s stunnel path
my $verbose=0; # set to 1 for debugging
@@ -43,6 +38,10 @@ do {
$srcdir=$ARGV[1];
shift @ARGV;
}
+ elsif($ARGV[0] eq "-s") {
+ $stunnel=$ARGV[1];
+ shift @ARGV;
+ }
elsif($ARGV[0] =~ /^(\d+)$/) {
$port = $1;
}