summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-05-03 16:38:31 +0200
committerJelmer Vernooij <jelmer@samba.org>2012-05-03 18:28:05 +0200
commita38e2cbbb31866c4af3b352a9dbbfcabb41ab4b8 (patch)
tree244529ab2ec78dab666d8c3a6d942688210366a2
parent027f2b34061a4dbe7887bdd2eb17548cac0c0c92 (diff)
downloadsamba-a38e2cbbb31866c4af3b352a9dbbfcabb41ab4b8.tar.gz
samba-a38e2cbbb31866c4af3b352a9dbbfcabb41ab4b8.tar.bz2
samba-a38e2cbbb31866c4af3b352a9dbbfcabb41ab4b8.zip
libtorture: Improve suggestion to mention torture_assert_*() rather than
torture_result().
-rw-r--r--lib/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/torture/torture.c b/lib/torture/torture.c
index a2799efe16..1b0a9564db 100644
--- 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;
}
}