mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
r19439: revert my change to a torture assert - expected is a bool
(This used to be commit 1d231e45bd898c2d01328aea94f8cbc2886c9e5b)
This commit is contained in:
parent
5a4b133d1c
commit
ab037664d8
@ -790,7 +790,7 @@ static bool test_wrepl_is_applied(struct torture_context *tctx,
|
||||
|
||||
status = wrepl_pull_names(ctx->pull, ctx->pull, &pull_names);
|
||||
CHECK_STATUS(tctx, status, NT_STATUS_OK);
|
||||
torture_assert(tctx, pull_names.out.num_names == expected,
|
||||
torture_assert(tctx, pull_names.out.num_names == (expected?1:0),
|
||||
talloc_asprintf(tctx, "Invalid number of records returned - expected %d got %d", expected, pull_names.out.num_names));
|
||||
|
||||
names = pull_names.out.names;
|
||||
|
Loading…
x
Reference in New Issue
Block a user