git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1950d6
)
s4-smbtorture: move ChangeID test to the list of tests we run against created printers.
author
Günther Deschner
<gd@samba.org>
Wed, 24 Feb 2010 11:00:36 +0000
(12:00 +0100)
committer
Günther Deschner
<gd@samba.org>
Thu, 25 Feb 2010 12:13:33 +0000
(13:13 +0100)
Guenther
source4/torture/rpc/spoolss.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/spoolss.c
b/source4/torture/rpc/spoolss.c
index 772abf4bc9989ed043a146ff79f81d4950935792..a3419a782e704b44bf12992c4c33a21837180b72 100644
(file)
--- 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;
}