git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
027f2b3
)
libtorture: Improve suggestion to mention torture_assert_*() rather than
author
Jelmer Vernooij
<jelmer@samba.org>
Thu, 3 May 2012 14:38:31 +0000
(16:38 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Thu, 3 May 2012 16:28:05 +0000
(18:28 +0200)
torture_result().
lib/torture/torture.c
patch
|
blob
|
history
diff --git
a/lib/torture/torture.c
b/lib/torture/torture.c
index a2799efe162a69e1c30a199c6f6eb4319aa51ffd..1b0a9564db2a0b649464b010af7015ec020d1447 100644
(file)
--- a/
lib/torture/torture.c
+++ b/
lib/torture/torture.c
@@
-444,7
+444,7
@@
static bool internal_torture_run_test(struct torture_context *context,
if (!success && context->last_result == TORTURE_OK) {
if (context->last_reason == NULL)
context->last_reason = talloc_strdup(context,
- "Unknown error/failure. Missing torture_fail() or torture_
result
() call?");
+ "Unknown error/failure. Missing torture_fail() or torture_
assert_*
() call?");
context->last_result = TORTURE_ERROR;
}
}