diff options
author | Günther Deschner <gd@samba.org> | 2010-03-25 00:49:38 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-03-25 00:50:44 +0100 |
commit | 426cb9be1c882fea5a22475107aad05e8d0e124e (patch) | |
tree | 67e9b41549580a8b7eaad186ead29b442aaa08a4 /source4/torture | |
parent | 6913c57b2f22550102e7fcea75d12c99db1776f7 (diff) | |
download | samba-426cb9be1c882fea5a22475107aad05e8d0e124e.tar.gz samba-426cb9be1c882fea5a22475107aad05e8d0e124e.tar.bz2 samba-426cb9be1c882fea5a22475107aad05e8d0e124e.zip |
s4-smbtorture: add print test to RPC-SPOOLSS-PRINTER as well.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/spoolss.c | 12 |
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; } |