summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-05 08:53:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:45 -0500
commit54bc4556b93671202db93ef5097c006d0aa1880e (patch)
treef79d18b77c635a8ac6581e3bf06382296b576dcc /source4
parente047f72e3438e1717d473845bb93d54b4fbae1e7 (diff)
downloadsamba-54bc4556b93671202db93ef5097c006d0aa1880e.tar.gz
samba-54bc4556b93671202db93ef5097c006d0aa1880e.tar.bz2
samba-54bc4556b93671202db93ef5097c006d0aa1880e.zip
r25513: don't hide warnings in subunit mode
metze (This used to be commit 9efa06537a998e5519e17022a01c9df435dc8b3d)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/smbtorture.c7
1 files changed, 7 insertions, 0 deletions
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