1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s4-smbtorture: check error codes in RAP-SAM testsuite.

Guenther
This commit is contained in:
Günther Deschner 2010-06-04 19:05:24 +02:00
parent fb79a8d7f0
commit 8b3059de97

View File

@ -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;