getncchanges.py: Add test for GET_ANC and GET_TGT combined
authorTim Beale <timbeale@catalyst.net.nz>
Wed, 12 Jul 2017 23:47:16 +0000 (11:47 +1200)
committerGarming Sam <garming@samba.org>
Mon, 18 Sep 2017 03:51:24 +0000 (05:51 +0200)
commit00b20c825c3961966ba9d77a28dfbc9166790977
tree0a7b800bc60fbc8b4c501b68b3022451e9cb77bd
parent6ec9ef2bebe5f9d587963f29c279b938f098893e
getncchanges.py: Add test for GET_ANC and GET_TGT combined

The code has to handle needing GET_ANC and GET_TGT in combination, i.e.
where we fetch the target object for the linked attribute and the target
object's parent is unknown as well. This patch adds a test case to
exercise this code path.

The second part of this test exercises GET_ANC/GET_TGT for an
incremental replication, where the objects are getting filtered by an
uptodateness-vector/HWM.

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