From 1077337afb7fd62b8d9aa4bfb1b95e7a1104e3da Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 3 May 2012 13:42:57 +0200 Subject: torture: Suggest torture_fail() / torture_result(). Autobuild-User: Jelmer Vernooij Autobuild-Date: Thu May 3 15:31:06 CEST 2012 on sn-devel-104 --- lib/torture/torture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/torture') diff --git a/lib/torture/torture.c b/lib/torture/torture.c index cee6bdb934..a2799efe16 100644 --- 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; } } -- cgit