git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a4b133
)
r19439: revert my change to a torture assert - expected is a bool
author
Andrew Tridgell
<tridge@samba.org>
Sat, 21 Oct 2006 09:38:16 +0000
(09:38 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:21:32 +0000
(14:21 -0500)
(This used to be commit
1d231e45bd898c2d01328aea94f8cbc2886c9e5b
)
source4/torture/nbt/winsreplication.c
patch
|
blob
|
history
diff --git
a/source4/torture/nbt/winsreplication.c
b/source4/torture/nbt/winsreplication.c
index 1df8a3e6b660ace551ee9a262d999a611d59f2cf..058a430e120ee9df97cb0883dc0df3ca09469449 100644
(file)
--- 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;