summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-05-04 10:21:52 +0200
committerGünther Deschner <gd@samba.org>2010-05-04 19:38:16 +0200
commit9c5a59b11e22104787fe7bd4b872a9b9c93c77a3 (patch)
treeb238fdc4328e0d5bf2f2f1c6139fd5fd5f84c347 /source4/torture/rpc
parentf5e41c5cde30e72a7f3597814cebaee4c1f0f9b4 (diff)
downloadsamba-9c5a59b11e22104787fe7bd4b872a9b9c93c77a3.tar.gz
samba-9c5a59b11e22104787fe7bd4b872a9b9c93c77a3.tar.bz2
samba-9c5a59b11e22104787fe7bd4b872a9b9c93c77a3.zip
s4-torture: Added the printername to the AddPrinter comment.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/spoolss.c6
1 files changed, 4 insertions, 2 deletions
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;