summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-18 01:23:29 +0100
committerGünther Deschner <gd@samba.org>2011-03-18 01:24:07 +0100
commit26ddcd3da1aa7903a08accea4e9d1ffaac1cae0a (patch)
tree1f0c3b51ec23b132f660558a91a17c6a8147a703 /source4
parent436b49771460139f1227b15445f68b80b5fbf6e6 (diff)
downloadsamba-26ddcd3da1aa7903a08accea4e9d1ffaac1cae0a.tar.gz
samba-26ddcd3da1aa7903a08accea4e9d1ffaac1cae0a.tar.bz2
samba-26ddcd3da1aa7903a08accea4e9d1ffaac1cae0a.zip
s4-smbtorture: add missing error code check in test_netsessionenum().
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rap/rap.c2
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) {