summaryrefslogtreecommitdiff
path: root/test/recipes/70-test_sslskewith0p.t
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-12 18:26:16 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-12 20:56:46 +0100
commitb44b935e3966ac03c581e267e9a99547f91dcb78 (patch)
treea40373a64d404f8f64321d4235a0c041d69dda8e /test/recipes/70-test_sslskewith0p.t
parentb843cdb1054413b97739433fde7fa18496ab222f (diff)
downloadopenssl-new-b44b935e3966ac03c581e267e9a99547f91dcb78.tar.gz
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>
Diffstat (limited to 'test/recipes/70-test_sslskewith0p.t')
-rwxr-xr-xtest/recipes/70-test_sslskewith0p.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/recipes/70-test_sslskewith0p.t b/test/recipes/70-test_sslskewith0p.t
index 0e6a780404..fac1e8d148 100755
--- a/test/recipes/70-test_sslskewith0p.t
+++ b/test/recipes/70-test_sslskewith0p.t
@@ -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;