svn commit: samba r19298 - in branches/SAMBA_4_0/source/torture: .
tridge at samba.org
tridge at samba.org
Sun Oct 15 21:42:46 GMT 2006
Author: tridge
Date: 2006-10-15 21:42:45 +0000 (Sun, 15 Oct 2006)
New Revision: 19298
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19298
Log:
make sure torture_fail() gives a useful message
Jelmer, is there a better approach for this?
Modified:
branches/SAMBA_4_0/source/torture/ui.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/ui.c
===================================================================
--- branches/SAMBA_4_0/source/torture/ui.c 2006-10-15 21:40:49 UTC (rev 19297)
+++ branches/SAMBA_4_0/source/torture/ui.c 2006-10-15 21:42:45 UTC (rev 19298)
@@ -45,6 +45,8 @@
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;
}
More information about the samba-cvs
mailing list