diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rap/printing.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/torture/rap/printing.c b/source4/torture/rap/printing.c index 800840c384..af76b263df 100644 --- a/source4/torture/rap/printing.c +++ b/source4/torture/rap/printing.c @@ -129,6 +129,10 @@ static bool test_netprintqgetinfo(struct torture_context *tctx, torture_assert_ntstatus_ok(tctx, smbcli_rap_netprintqgetinfo(cli->tree, tctx, &r), "smbcli_rap_netprintqgetinfo failed"); + torture_assert_werr_equal(tctx, + W_ERROR(r.out.status), + WERR_INVALID_PARAMETER, + "smbcli_rap_netprintqgetinfo failed"); r_enum.in.level = 5; r_enum.in.bufsize = 8192; @@ -153,6 +157,9 @@ static bool test_netprintqgetinfo(struct torture_context *tctx, torture_assert_ntstatus_ok(tctx, smbcli_rap_netprintqgetinfo(cli->tree, tctx, &r), "smbcli_rap_netprintqgetinfo failed"); + torture_assert_werr_ok(tctx, + W_ERROR(r.out.status), + "smbcli_rap_netprintqgetinfo failed"); switch (r.in.level) { case 0: |