svn commit: samba r11899 - in branches/SAMBA_4_0/source/torture/nbt: .

metze at samba.org metze at samba.org
Fri Nov 25 10:44:04 GMT 2005


Author: metze
Date: 2005-11-25 10:44:03 +0000 (Fri, 25 Nov 2005)
New Revision: 11899

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11899

Log:
add some usefull debug messages 

metze
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	2005-11-25 10:19:24 UTC (rev 11898)
+++ branches/SAMBA_4_0/source/torture/nbt/winsreplication.c	2005-11-25 10:44:03 UTC (rev 11899)
@@ -4753,6 +4753,11 @@
 		}
 
 		if (records[i].r2.sgroup_cleanup) {
+			if (!ret) {
+				printf("failed before sgroup_cleanup record[%u]: %s\n", i, records[i].line);
+				return ret;
+			}
+
 			/* clean up the SGROUP record */
 			wins_name_r1->name	= &records[i].name;
 			wins_name_r1->flags	= WREPL_NAME_FLAGS(WREPL_TYPE_SGROUP,
@@ -4808,6 +4813,11 @@
 			wins_name_r2->unknown	= "255.255.255.255";
 			ret &= test_wrepl_update_one(ctx, records[i].r2.owner, wins_name_r2);
 			ret &= test_wrepl_is_applied(ctx, records[i].r2.owner, wins_name_r2, True);
+
+			if (!ret) {
+				printf("failed in sgroup_cleanup record[%u]: %s\n", i, records[i].line);
+				return ret;
+			}
 		}
 
 		/* the first one is a cleanup run */



More information about the samba-cvs mailing list