From 54bc4556b93671202db93ef5097c006d0aa1880e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 5 Oct 2007 08:53:13 +0000 Subject: r25513: don't hide warnings in subunit mode metze (This used to be commit 9efa06537a998e5519e17022a01c9df435dc8b3d) --- source4/torture/smbtorture.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index f70058096d..a14b909598 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -380,9 +380,16 @@ static void subunit_comment(struct torture_context *test, fprintf(stderr, "%s", comment); } +static void subunit_warning(struct torture_context *test, + const char *comment) +{ + fprintf(stderr, "WARNING!: %s\n", comment); +} + const static struct torture_ui_ops subunit_ui_ops = { .init = subunit_init, .comment = subunit_comment, + .warning = subunit_warning, .test_start = subunit_test_start, .test_result = subunit_test_result, .suite_start = subunit_suite_start -- cgit