From 426cb9be1c882fea5a22475107aad05e8d0e124e Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 25 Mar 2010 00:49:38 +0100 Subject: s4-smbtorture: add print test to RPC-SPOOLSS-PRINTER as well. Guenther --- source4/torture/rpc/spoolss.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source4/torture/rpc') 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; } -- cgit