selftest: Do not test for link ordering in tombstones_expunge test
authorAndrew Bartlett <abartlet@samba.org>
Wed, 4 Jan 2017 08:27:58 +0000 (21:27 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 9 Feb 2017 02:17:14 +0000 (03:17 +0100)
commita9e0e7a9ef93bde4da412122ab0abcaa34659d4d
treec8badd070da7efac8167327465c5713e3d866dc6
parent2fab7585e7f6093f161056ad42e83325ad3d623d
selftest: Do not test for link ordering in tombstones_expunge test

By testing only for the DNs that are returned we do not change the strictness of
the test, because it is a test of the match rule which applies to the whole
object, not the returned values.

However, when this code asserted the returned order of the links, it prevents
us from changing this order.  This order was not deterministic across DCs
but as this test ran against an offline DB, it was able to assume a
particular order.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/selftest/provisions/release-4-5-0-pre1/expected-match-rule-links.ldif
testprogs/blackbox/tombstones-expunge.sh