summaryrefslogtreecommitdiffstats
path: root/test/testutil/cb.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-06-22 01:35:08 +0200
committerPauli <paul.dale@oracle.com>2017-06-22 01:35:08 +0200
commita69de3f2014ab55329f43633714c9c153cb5cb30 (patch)
tree04bb9e50fbe632c6543e513bdb4be3cc8af36d4d /test/testutil/cb.c
parentConfigure: give config targets the possibility to enable or disable features (diff)
downloadopenssl-a69de3f2014ab55329f43633714c9c153cb5cb30.tar.xz
openssl-a69de3f2014ab55329f43633714c9c153cb5cb30.zip
TAP line filter BIO.
This is an implementation of a BIO filter that produce TAP compatible output for the test framework. The current test indentation level is honoured. The test output functions have been modified to not attempt to indent their output and to not include the leading '#' character. The filter is applied to bio_err only. bio_out is left unchanged, although tests using bio_out have been modified to use bio_err instead. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3732)
Diffstat (limited to 'test/testutil/cb.c')
-rw-r--r--test/testutil/cb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil/cb.c b/test/testutil/cb.c
index a291eaaa49..4f5ba080cc 100644
--- a/test/testutil/cb.c
+++ b/test/testutil/cb.c
@@ -12,5 +12,5 @@
int openssl_error_cb(const char *str, size_t len, void *u)
{
- return test_printf_stderr("%*s# %s", subtest_level(), "", str);
+ return test_printf_stderr("%s", str);
}