From 9c5a59b11e22104787fe7bd4b872a9b9c93c77a3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 4 May 2010 10:21:52 +0200 Subject: s4-torture: Added the printername to the AddPrinter comment. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source4/torture/rpc/spoolss.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source4/torture/rpc/spoolss.c') diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index cb15ffd5e3..61d1bccaa4 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; -- cgit