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:
7ed9eba
)
torture: Suggest torture_fail() / torture_result().
author
Jelmer Vernooij
<jelmer@samba.org>
Thu, 3 May 2012 11:42:57 +0000
(13:42 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Thu, 3 May 2012 13:31:06 +0000
(15:31 +0200)
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu May 3 15:31:06 CEST 2012 on sn-devel-104
lib/torture/torture.c
patch
|
blob
|
history
diff --git
a/lib/torture/torture.c
b/lib/torture/torture.c
index cee6bdb934d86e3f661044cdfd488c5cb16e6107..a2799efe162a69e1c30a199c6f6eb4319aa51ffd 100644
(file)
--- a/
lib/torture/torture.c
+++ b/
lib/torture/torture.c
@@
-443,7
+443,8
@@
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");
+ context->last_reason = talloc_strdup(context,
+ "Unknown error/failure. Missing torture_fail() or torture_result() call?");
context->last_result = TORTURE_ERROR;
}
}