s4-torture: Added the printername to the AddPrinter comment.
authorAndreas Schneider <asn@samba.org>
Tue, 4 May 2010 08:21:52 +0000 (10:21 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 4 May 2010 17:38:16 +0000 (19:38 +0200)
Signed-off-by: Günther Deschner <gd@samba.org>
source4/torture/rpc/spoolss.c

index cb15ffd5e3828c612dfaf10ccc17ce6fb670086d..61d1bccaa44aca6f78aa0406331c1d71d64bc7bb 100644 (file)
@@ -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;