diff options
author | Günther Deschner <gd@samba.org> | 2009-02-06 12:44:57 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-06 14:59:21 +0100 |
commit | d400de2ffa53bebe13cba0d2d3c18dcc05bc37bd (patch) | |
tree | ded1f38c6da5f556082095a00c47458997f04267 /source4/torture/rpc | |
parent | 6e1c008913f545d731dae6aefc1d11053a32d151 (diff) | |
download | samba-d400de2ffa53bebe13cba0d2d3c18dcc05bc37bd.tar.gz samba-d400de2ffa53bebe13cba0d2d3c18dcc05bc37bd.tar.bz2 samba-d400de2ffa53bebe13cba0d2d3c18dcc05bc37bd.zip |
s4-smbtorture: fix test_DoPrintTest.
Guenther
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/spoolss.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index c06262eab6..707f3496b6 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -1003,6 +1003,7 @@ static bool test_DoPrintTest(struct torture_context *tctx, struct spoolss_EndDocPrinter e; int i; uint32_t job_id; + uint32_t num_written; torture_comment(tctx, "Testing StartDocPrinter\n"); @@ -1032,6 +1033,7 @@ static bool test_DoPrintTest(struct torture_context *tctx, w.in.handle = handle; w.in.data = data_blob_string_const(talloc_asprintf(tctx,"TortureTestPage: %d\nData\n",i)); + w.out.num_written = &num_written; status = dcerpc_spoolss_WritePrinter(p, tctx, &w); torture_assert_ntstatus_ok(tctx, status, "dcerpc_spoolss_WritePrinter failed"); |