diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-10-21 09:38:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:32 -0500 |
commit | ab037664d8fe40695bff38284725b623d388a35c (patch) | |
tree | 1a6ae03c69f2a10f1c533fbd30937d465794d6db | |
parent | 5a4b133d1ce7ec5043a092396072be5374b3cf24 (diff) | |
download | samba-ab037664d8fe40695bff38284725b623d388a35c.tar.gz samba-ab037664d8fe40695bff38284725b623d388a35c.tar.bz2 samba-ab037664d8fe40695bff38284725b623d388a35c.zip |
r19439: revert my change to a torture assert - expected is a bool
(This used to be commit 1d231e45bd898c2d01328aea94f8cbc2886c9e5b)
-rw-r--r-- | source4/torture/nbt/winsreplication.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c index 1df8a3e6b6..058a430e12 100644 --- a/source4/torture/nbt/winsreplication.c +++ b/source4/torture/nbt/winsreplication.c @@ -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; |