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)
diff --git a/test/testutil/cb.c b/test/testutil/cb.c
index a291eaa..4f5ba08 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);
}