summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/spoolss.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 99e5c9e3c0..b06c109af3 100644
--- 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;
}