mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:33:42 +03:00
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.
This commit is contained in:
parent
aad70aa24e
commit
0334509754
3 changed files with 39 additions and 25 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue