lib-test: more delicate *assert() behaviour when doing fatal tests We shouldn't be i_asserting ourselves when we're in the state of wanting a test to fail. Therefore instead test_assert to get the assert message, and ensure that the success flag is cleared to get the FAILED at the end.
lib-test: more delicate *assert() behaviour when doing fatal tests
We shouldn't be i_asserting ourselves when we're in the state of wanting a
test to fail. Therefore instead test_assert to get the assert message, and
ensure that the success flag is cleared to get the FAILED at the end.

Signed-off-by: Phil Carmody <e888d2bd6f13f82caa51a37c03d034c76f661ba3@dovecot.fi>

LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot