diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/ui.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/ui.c b/source4/torture/ui.c index 50bb2482d7..4abc3339d4 100644 --- a/source4/torture/ui.c +++ b/source4/torture/ui.c @@ -45,6 +45,8 @@ void torture_fail(struct torture_context *context, const char *fmt, ...) va_start(ap, fmt); context->last_reason = talloc_vasprintf(context, fmt, ap); + /* make sure the reason for the failure is displayed */ + context->ui_ops->comment(context, context->last_reason); va_end(ap); context->last_result = TORTURE_FAIL; } |