summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-04 19:05:24 +0200
committerGünther Deschner <gd@samba.org>2010-06-05 00:35:09 +0200
commit8b3059de977eeeae69ebff7d33119bd6b565b637 (patch)
treed708d05ae488a12b41ee73b0db4ee7398af3fcc4 /source4/torture
parentfb79a8d7f0f4b7686983d8c9025c1ebd0445e84f (diff)
downloadsamba-8b3059de977eeeae69ebff7d33119bd6b565b637.tar.gz
samba-8b3059de977eeeae69ebff7d33119bd6b565b637.tar.bz2
samba-8b3059de977eeeae69ebff7d33119bd6b565b637.zip
s4-smbtorture: check error codes in RAP-SAM testsuite.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rap/sam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rap/sam.c b/source4/torture/rap/sam.c
index 290ba0820c..144abaabf2 100644
--- a/source4/torture/rap/sam.c
+++ b/source4/torture/rap/sam.c
@@ -206,6 +206,8 @@ static bool test_usergetinfo_byname(struct torture_context *tctx,
torture_assert_ntstatus_ok(tctx,
smbcli_rap_netusergetinfo(cli->tree, tctx, &r),
"smbcli_rap_netusergetinfo failed");
+ torture_assert_werr_ok(tctx, W_ERROR(r.out.status),
+ "smbcli_rap_netusergetinfo failed");
}
return true;