selftest: Make sure single-link conflict retains the deleted link
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 19 Sep 2017 01:41:02 +0000 (13:41 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 20 Oct 2017 02:05:20 +0000 (04:05 +0200)
commit9c54e7484f703176d9ffd72371e353deb30f7108
tree5d01f8a0a6092d1c95e08e4004f99b9d7eefb89e
parentc9ea47ec6bf2d0cb868e94a594c108ee02b1aa34
selftest: Make sure single-link conflict retains the deleted link

There should only ever be one active value for a single-valued link
attribute. When a conflict occurs the 'losing' value should still be
present, but should be marked as deleted.

This change is just making the test criteria stricter to make sure that
we fix the bug correctly.

Note that the only way to query the deleted link attributes present
is to send a DRS request.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13055

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/torture/drs/python/link_conflicts.py