git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6913c57
)
s4-smbtorture: add print test to RPC-SPOOLSS-PRINTER as well.
author
Günther Deschner
<gd@samba.org>
Wed, 24 Mar 2010 23:49:38 +0000
(
00:49
+0100)
committer
Günther Deschner
<gd@samba.org>
Wed, 24 Mar 2010 23:50:44 +0000
(
00:50
+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 99e5c9e3c02106582343ab64f658a42d0236cf54..b06c109af324aac53fd1a737319015e9a5e86915 100644
(file)
--- a/
source4/torture/rpc/spoolss.c
+++ b/
source4/torture/rpc/spoolss.c
@@
-5151,6
+5151,18
@@
static bool test_one_printer(struct torture_context *tctx,
bool ret = true;
struct dcerpc_binding_handle *b = p->binding_handle;
+ if (!test_PausePrinter(tctx, b, handle)) {
+ ret = false;
+ }
+
+ if (!test_DoPrintTest(tctx, b, handle)) {
+ ret = false;
+ }
+
+ if (!test_ResumePrinter(tctx, b, handle)) {
+ ret = false;
+ }
+
if (!test_printer_info(tctx, b, handle)) {
ret = false;
}