summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-13 02:26:59 +0100
committerGünther Deschner <gd@samba.org>2010-03-13 02:26:59 +0100
commit8f0773771491dd12c0fa0b8967009364d1daa188 (patch)
tree8a734ae63c76c52f570da239205dfc20f170fea7
parent6833094d6bddf53ee403f89e4f949b9e23041974 (diff)
downloadsamba-8f0773771491dd12c0fa0b8967009364d1daa188.tar.gz
samba-8f0773771491dd12c0fa0b8967009364d1daa188.tar.xz
samba-8f0773771491dd12c0fa0b8967009364d1daa188.zip
s4-smbtorture: warn on unexpected devicenames in spoolss devicemode test.
Guenther
-rw-r--r--source4/torture/rpc/spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 76e8a16b57..7d82529130 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -2093,7 +2093,7 @@ static bool test_PrinterInfo_DevModes(struct torture_context *tctx,
devmode2 = info.info8.devmode;
if (strequal(devmode->devicename, devmode2->devicename)) {
- torture_comment(tctx, "devicenames are the same\n");
+ torture_warning(tctx, "devicenames are the same\n");
} else {
torture_comment(tctx, "devicename passed in for open: %s\n", devmode->devicename);
torture_comment(tctx, "devicename after level 8 get: %s\n", devmode2->devicename);
@@ -2118,7 +2118,7 @@ static bool test_PrinterInfo_DevModes(struct torture_context *tctx,
devmode2 = info.info2.devmode;
if (strequal(devmode->devicename, devmode2->devicename)) {
- torture_comment(tctx, "devicenames are the same\n");
+ torture_warning(tctx, "devicenames are the same\n");
} else {
torture_comment(tctx, "devicename passed in for open: %s\n", devmode->devicename);
torture_comment(tctx, "devicename after level 2 get: %s\n", devmode2->devicename);