git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e047f72
)
r25513: don't hide warnings in subunit mode
author
Stefan Metzmacher
<metze@samba.org>
Fri, 5 Oct 2007 08:53:13 +0000
(08:53 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 20:07:45 +0000
(15:07 -0500)
metze
(This used to be commit
9efa06537a998e5519e17022a01c9df435dc8b3d
)
source4/torture/smbtorture.c
patch
|
blob
|
history
diff --git
a/source4/torture/smbtorture.c
b/source4/torture/smbtorture.c
index f70058096dc801ebc3b794dcf1ff62018bd887f5..a14b9095986228dd5c979c36e52b7189cefd2911 100644
(file)
--- 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