summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-02-24 12:00:36 +0100
committerGünther Deschner <gd@samba.org>2010-02-25 13:13:33 +0100
commitbbdd1412b21b9f26984a2b0be21256ae5ea4dc0b (patch)
treea6dec6087d9892416a8906e5360925b71ac1ee2d
parentd1950d66c4ed38918323bdb8c0bb11700a47bdc3 (diff)
downloadsamba-bbdd1412b21b9f26984a2b0be21256ae5ea4dc0b.tar.gz
samba-bbdd1412b21b9f26984a2b0be21256ae5ea4dc0b.tar.bz2
samba-bbdd1412b21b9f26984a2b0be21256ae5ea4dc0b.zip
s4-smbtorture: move ChangeID test to the list of tests we run against created printers.
Guenther
-rw-r--r--source4/torture/rpc/spoolss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 772abf4bc9..a3419a782e 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -3628,10 +3628,6 @@ static bool test_OpenPrinterEx(struct torture_context *tctx,
ret = false;
}
- if (!test_ChangeID(tctx, p, &handle)) {
- ret = false;
- }
-
if (!torture_setting_bool(tctx, "samba3", false)) {
if (!test_SecondaryClosePrinter(tctx, p, &handle)) {
ret = false;
@@ -4395,6 +4391,10 @@ static bool test_one_printer(struct torture_context *tctx,
ret = false;
}
+ if (!test_ChangeID(tctx, p, handle)) {
+ ret = false;
+ }
+
if (!test_printer_keys(tctx, p, handle)) {
ret = false;
}