svn commit: samba r19439 - in
branches/SAMBA_4_0/source/torture/nbt: .
tridge at samba.org
tridge at samba.org
Sat Oct 21 09:38:17 GMT 2006
Author: tridge
Date: 2006-10-21 09:38:16 +0000 (Sat, 21 Oct 2006)
New Revision: 19439
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19439
Log:
revert my change to a torture assert - expected is a bool
Modified:
branches/SAMBA_4_0/source/torture/nbt/winsreplication.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/nbt/winsreplication.c
===================================================================
--- branches/SAMBA_4_0/source/torture/nbt/winsreplication.c 2006-10-21 09:15:15 UTC (rev 19438)
+++ branches/SAMBA_4_0/source/torture/nbt/winsreplication.c 2006-10-21 09:38:16 UTC (rev 19439)
@@ -790,7 +790,7 @@
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;
More information about the samba-cvs
mailing list