Let all TLSProxy based tests display debug text conditionally
If the environment variable HARNESS_ACTIVE isn't defined or HARNESS_VERBOSE is defined, it's probable that lots of output is desired. Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
b843cdb105
commit
b44b935e39
7 changed files with 13 additions and 7 deletions
|
@ -74,7 +74,8 @@ $ENV{OPENSSL_ia32cap} = '~0x200000200000000';
|
|||
my $proxy = TLSProxy::Proxy->new(
|
||||
\&certstatus_filter,
|
||||
cmdstr(app(["openssl"])),
|
||||
srctop_file("apps", "server.pem")
|
||||
srctop_file("apps", "server.pem"),
|
||||
(!$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE})
|
||||
);
|
||||
|
||||
plan tests => 1;
|
||||
|
|
|
@ -74,7 +74,8 @@ $ENV{OPENSSL_ia32cap} = '~0x200000200000000';
|
|||
my $proxy = TLSProxy::Proxy->new(
|
||||
\&extension_filter,
|
||||
cmdstr(app(["openssl"])),
|
||||
srctop_file("apps", "server.pem")
|
||||
srctop_file("apps", "server.pem"),
|
||||
(!$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE})
|
||||
);
|
||||
|
||||
plan tests => 1;
|
||||
|
|
|
@ -84,7 +84,8 @@ my $ticketseen = 0;
|
|||
my $proxy = TLSProxy::Proxy->new(
|
||||
undef,
|
||||
cmdstr(app(["openssl"])),
|
||||
srctop_file("apps", "server.pem")
|
||||
srctop_file("apps", "server.pem"),
|
||||
(!$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE})
|
||||
);
|
||||
|
||||
plan tests => 8;
|
||||
|
|
|
@ -77,7 +77,8 @@ $ENV{OPENSSL_ia32cap} = '~0x200000200000000';
|
|||
my $proxy = TLSProxy::Proxy->new(
|
||||
\&ske_0_p_filter,
|
||||
cmdstr(app(["openssl"])),
|
||||
srctop_file("apps", "server.pem")
|
||||
srctop_file("apps", "server.pem"),
|
||||
(!$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE})
|
||||
);
|
||||
|
||||
plan tests => 1;
|
||||
|
|
|
@ -74,7 +74,8 @@ $ENV{OPENSSL_ia32cap} = '~0x200000200000000';
|
|||
my $proxy = TLSProxy::Proxy->new(
|
||||
\&vers_tolerance_filter,
|
||||
cmdstr(app(["openssl"])),
|
||||
srctop_file("apps", "server.pem")
|
||||
srctop_file("apps", "server.pem"),
|
||||
(!$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE})
|
||||
);
|
||||
|
||||
plan tests => 2;
|
||||
|
|
|
@ -87,7 +87,7 @@ my $proxy = TLSProxy::Proxy->new(
|
|||
\&extms_filter,
|
||||
cmdstr(app(["openssl"])),
|
||||
srctop_file("apps", "server.pem"),
|
||||
1
|
||||
(!$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE})
|
||||
);
|
||||
|
||||
plan tests => 9;
|
||||
|
|
|
@ -75,7 +75,8 @@ $ENV{OPENSSL_ia32cap} = '~0x200000200000000';
|
|||
my $proxy = TLSProxy::Proxy->new(
|
||||
undef,
|
||||
cmdstr(app(["openssl"])),
|
||||
srctop_file("apps", "server.pem")
|
||||
srctop_file("apps", "server.pem"),
|
||||
(!$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE})
|
||||
);
|
||||
|
||||
plan tests => 2;
|
||||
|
|
Loading…
Reference in a new issue