diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-11-25 10:44:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:44 -0500 |
commit | 7746a144cd148a32604e768f878acff65c55a897 (patch) | |
tree | b53add641ad8edd0379515edccc1153efe7dfb66 /source4 | |
parent | 6aff2946e1892586b20e543a6cd101c89829bc11 (diff) | |
download | samba-7746a144cd148a32604e768f878acff65c55a897.tar.gz samba-7746a144cd148a32604e768f878acff65c55a897.tar.bz2 samba-7746a144cd148a32604e768f878acff65c55a897.zip |
r11899: add some usefull debug messages
metze
(This used to be commit 8b9447e8c1be58bd299d464d5d1f15d32c438374)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/nbt/winsreplication.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c index 1fd68cadb8..823a4b3332 100644 --- a/source4/torture/nbt/winsreplication.c +++ b/source4/torture/nbt/winsreplication.c @@ -4753,6 +4753,11 @@ static BOOL test_conflict_different_owner(struct test_wrepl_conflict_conn *ctx) } 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 @@ static BOOL test_conflict_different_owner(struct test_wrepl_conflict_conn *ctx) 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 */ |