summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/torture/torture.c3
1 files changed, 2 insertions, 1 deletions
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;
}
}