From: Jelmer Vernooij Date: Thu, 3 May 2012 11:42:57 +0000 (+0200) Subject: torture: Suggest torture_fail() / torture_result(). X-Git-Tag: samba-4.0.0alpha21~385 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1077337afb7fd62b8d9aa4bfb1b95e7a1104e3da;p=thirdparty%2Fsamba.git torture: Suggest torture_fail() / torture_result(). Autobuild-User: Jelmer Vernooij Autobuild-Date: Thu May 3 15:31:06 CEST 2012 on sn-devel-104 --- diff --git a/lib/torture/torture.c b/lib/torture/torture.c index cee6bdb934d..a2799efe162 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; } }