1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

torture: Suggest torture_fail() / torture_result().

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu May  3 15:31:06 CEST 2012 on sn-devel-104
This commit is contained in:
Jelmer Vernooij 2012-05-03 13:42:57 +02:00
parent 7ed9ebab83
commit 1077337afb

View File

@ -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;
}
}