From: Andreas Schneider Date: Tue, 4 May 2010 08:21:52 +0000 (+0200) Subject: s4-torture: Added the printername to the AddPrinter comment. X-Git-Tag: samba-3.6.0pre1~2255 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c5a59b11e22104787fe7bd4b872a9b9c93c77a3;p=thirdparty%2Fsamba.git s4-torture: Added the printername to the AddPrinter comment. Signed-off-by: Günther Deschner --- diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index cb15ffd5e38..61d1bccaa44 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -5974,7 +5974,8 @@ static bool test_AddPrinter_wellknown(struct torture_context *tctx, ZERO_STRUCT(userlevel_ctr); ZERO_STRUCT(info1); - torture_comment(tctx, "Testing AddPrinter%s level 1\n", ex ? "Ex":""); + torture_comment(tctx, "Testing AddPrinter%s(%s) level 1\n", + ex ? "Ex":"", printername); /* try to add printer to wellknown printer list (level 1) */ @@ -6076,7 +6077,8 @@ static bool test_AddPrinter_normal(struct torture_context *tctx, ZERO_STRUCT(secdesc_ctr); ZERO_STRUCT(userlevel_ctr); - torture_comment(tctx, "Testing AddPrinter%s level 2\n", ex ? "Ex":""); + torture_comment(tctx, "Testing AddPrinter%s(%s) level 2\n", + ex ? "Ex":"", printername); devmode_ctr.devmode = devmode;