diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-10-29 16:27:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-10-29 16:27:43 +0000 |
commit | 033450975416d08798d79bd84a4c48c26e9927ec (patch) | |
tree | d4899b8a70cab2e1a41893d59a9da056dcafc7be /tests/httpsserver.pl | |
parent | aad70aa24ecb18ef43618465572d3dc2ffb95bb3 (diff) |
Stop using stunnel.pm, we pass in the path from the main script instead.
Also made it easier to stop the test suite with control-c.
Diffstat (limited to 'tests/httpsserver.pl')
-rw-r--r-- | tests/httpsserver.pl | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/httpsserver.pl b/tests/httpsserver.pl index 10e32bf42..068f89e3e 100644 --- a/tests/httpsserver.pl +++ b/tests/httpsserver.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 @@ -42,6 +37,10 @@ do { $target_port=$ARGV[1]; shift @ARGV; } + elsif($ARGV[0] eq "-s") { + $stunnel=$ARGV[1]; + shift @ARGV; + } elsif($ARGV[0] eq "-d") { $srcdir=$ARGV[1]; shift @ARGV; |