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:
parent
fb79a8d7f0
commit
8b3059de97
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user