Fix order

... of -U --ids-friendly. Add cliemt simulation
This commit is contained in:
Dirk Wetter 2020-12-11 21:09:10 +01:00
parent 48b0cbff85
commit 316e4d6f51

View File

@ -11,7 +11,7 @@ use JSON;
my $tests = 0; my $tests = 0;
my $prg="./testssl.sh"; my $prg="./testssl.sh";
my $check2run="--warnings=off -p -s -P --fs -S -h --ids-friendly -U -q --ip=one --color 0"; my $check2run="--warnings=off -p -s -P --fs -S -h -U --ids-friendly -c -q --ip=one --color 0";
my $uri="localhost:4433"; my $uri="localhost:4433";
my $socket_out=""; my $socket_out="";
my $openssl_out=""; my $openssl_out="";
@ -106,7 +106,7 @@ sub start_server ($) {
system ("OPENSSL_CONF='' $ossl s_server -www $arg -key /tmp/server.pem -cert /tmp/server.crt &>/dev/null &"); system ("OPENSSL_CONF='' $ossl s_server -www $arg -key /tmp/server.pem -cert /tmp/server.crt &>/dev/null &");
# this sucks bug time. But open3 doesn't allow to pass ENV and this: $ENV{OPENSSL_CONF} = ''; doens't work # this sucks bug time. But open3 doesn't allow to pass ENV and this: $ENV{OPENSSL_CONF} = ''; doesn't work
$pid= `pgrep -f 'openssl.*server.*pem'`; $pid= `pgrep -f 'openssl.*server.*pem'`;
#$pid = open3( $in, $out, $err, '$ossl s_server -www $arg -key /tmp/server.pem -cert /tmp/server.crt &'); #$pid = open3( $in, $out, $err, '$ossl s_server -www $arg -key /tmp/server.pem -cert /tmp/server.crt &');