selftest: Do not scan the full DB to confirm a specific DN in dbcheck
authorAndrew Bartlett <abartlet@samba.org>
Tue, 7 Jun 2016 01:54:28 +0000 (13:54 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 7 Jun 2016 08:28:10 +0000 (10:28 +0200)
commit0b525fe862ea993fe34f239482a06acb9f901877
tree3a8c9c4c90497cc14fd722a93ebf912205e7207b
parent8f1557a2c43e287c07723c16be78e1d858f4111d
selftest: Do not scan the full DB to confirm a specific DN in dbcheck

This avoids a full DB scan and therefore reduces the test time taken
when we just modified the cn=administrator record.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
testprogs/blackbox/dbcheck-oldrelease.sh