1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4-smbtorture: add print test to RPC-SPOOLSS-PRINTER as well.

Guenther
This commit is contained in:
Günther Deschner 2010-03-25 00:49:38 +01:00
parent 6913c57b2f
commit 426cb9be1c

View File

@ -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;
}