mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
s4:dsdb:tests: Add return code check
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
010cddae6c
commit
9b8f5616db
@ -405,11 +405,12 @@ static void test_modify_of_objectSID_replicated(void **state)
|
||||
assert_non_null(request);
|
||||
original_request = request;
|
||||
|
||||
ldb_request_add_control(
|
||||
rc = ldb_request_add_control(
|
||||
request,
|
||||
DSDB_CONTROL_REPLICATED_UPDATE_OID,
|
||||
false,
|
||||
NULL);
|
||||
assert_int_equal(rc, LDB_SUCCESS);
|
||||
|
||||
rc = unique_object_sids_modify(test_ctx->module, request);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user