diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rap/rap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c index 6f5d6e6994..c31979f0b2 100644 --- a/source4/torture/rap/rap.c +++ b/source4/torture/rap/rap.c @@ -123,6 +123,8 @@ static bool test_netsessionenum(struct torture_context *tctx, torture_assert_ntstatus_ok(tctx, smbcli_rap_netsessionenum(cli->tree, tctx, &r), "smbcli_rap_netsessionenum failed"); + torture_assert_werr_ok(tctx, W_ERROR(r.out.status), + "smbcli_rap_netsessionenum failed"); for (n=0; n < r.out.count; n++) { switch (r.in.level) { |