selftest: Use tree_delete control in idmap_rfc2307 test
authorAndrew Bartlett <abartlet@samba.org>
Sat, 1 Jul 2017 09:34:44 +0000 (21:34 +1200)
committerStefan Metzmacher <metze@samba.org>
Sun, 2 Jul 2017 15:35:20 +0000 (17:35 +0200)
commit8b97a0af326edc275eb6ede9b2edc7720dc808ff
tree7c5d7b8f9f5c8d438d53ac242aaf84c63bad1ad5
parentc0a7d2bacdacc7a43e04f3b450ea069c000b3d8d
selftest: Use tree_delete control in idmap_rfc2307 test

This control removes an entire subtree, which was the intention of the previouse code
but much more effectively.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
nsswitch/tests/test_idmap_rfc2307.sh