summaryrefslogtreecommitdiff
path: root/source4/torture/nbt
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-04-30 09:40:11 +0200
committerStefan Metzmacher <metze@samba.org>2011-04-30 11:43:30 +0200
commit9d738adcf854fb2e01892298d3c350a1ee06bbd0 (patch)
treed6ac8f1abc5b84f80e606c70db110326e6cc1540 /source4/torture/nbt
parent897af93e3176eb62817325a8b487742034bbbee7 (diff)
downloadsamba-9d738adcf854fb2e01892298d3c350a1ee06bbd0.tar.gz
s4:torture/nbt/winsreplication: assert the nbt name before the type
I hope that will make it easier to find problems with the flakey samba4.nbt.winsreplication.owned test. metze
Diffstat (limited to 'source4/torture/nbt')
-rw-r--r--source4/torture/nbt/winsreplication.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c
index 757ea54aa77..071c19f6f09 100644
--- a/source4/torture/nbt/winsreplication.c
+++ b/source4/torture/nbt/winsreplication.c
@@ -9618,8 +9618,8 @@ static void test_conflict_owned_active_vs_replica_handler_query(struct nbt_name_
name = &req_packet->questions[0].name;
- _NBT_ASSERT(name->type, rec->name.type);
_NBT_ASSERT_STRING(name->name, rec->name.name);
+ _NBT_ASSERT(name->type, rec->name.type);
_NBT_ASSERT_STRING(name->scope, rec->name.scope);
_NBT_ASSERT(rec->defend.expect_release, false);
@@ -9717,8 +9717,8 @@ static void test_conflict_owned_active_vs_replica_handler_release(
name = &req_packet->questions[0].name;
- _NBT_ASSERT(name->type, rec->name.type);
_NBT_ASSERT_STRING(name->name, rec->name.name);
+ _NBT_ASSERT(name->type, rec->name.type);
_NBT_ASSERT_STRING(name->scope, rec->name.scope);
_NBT_ASSERT(rec->defend.expect_release, true);