summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-06 12:42:13 +0100
committerGünther Deschner <gd@samba.org>2009-02-06 14:59:21 +0100
commit6e1c008913f545d731dae6aefc1d11053a32d151 (patch)
tree265a920a872722ba9b31024e05ad6fdcdb05a669 /source4/torture
parent0d4dbe6012ee6f15256de14f8d4d6b32eb4ca313 (diff)
downloadsamba-6e1c008913f545d731dae6aefc1d11053a32d151.tar.gz
samba-6e1c008913f545d731dae6aefc1d11053a32d151.tar.bz2
samba-6e1c008913f545d731dae6aefc1d11053a32d151.zip
s4-smbtorture: fix test_DoPrintTest.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/spoolss.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 3c5fcabbd2..c06262eab6 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -1009,6 +1009,7 @@ static bool test_DoPrintTest(struct torture_context *tctx,
s.in.handle = handle;
s.in.level = 1;
s.in.info.info1 = &info1;
+ s.out.job_id = &job_id;
info1.document_name = "TorturePrintJob";
info1.output_file = NULL;
info1.datatype = "RAW";
@@ -1017,8 +1018,6 @@ static bool test_DoPrintTest(struct torture_context *tctx,
torture_assert_ntstatus_ok(tctx, status, "dcerpc_spoolss_StartDocPrinter failed");
torture_assert_werr_ok(tctx, s.out.result, "StartDocPrinter failed");
- job_id = s.out.job_id;
-
for (i=1; i < 4; i++) {
torture_comment(tctx, "Testing StartPagePrinter: Page[%d]\n", i);