mirror of
https://github.com/samba-team/samba.git
synced 2025-03-22 02:50:28 +03:00
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
This commit is contained in:
parent
897af93e31
commit
9d738adcf8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user