tests: Add test-case for restore into non-default site
commitc077dfaa6066ea0131ff50e514759fbdbba311cb
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 18 Sep 2018 05:23:48 +0000 (18 17:23 +1200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 Nov 2018 11:44:29 +0000 (5 12:44 +0100)
tree4c7787e18bd23b38c5c77cb3cb7a31fe1fa75972
parent1e7520f4e50ab369769d11b7d65a3752d6aeeda5
tests: Add test-case for restore into non-default site

Add a test-case that exercises the new '--site' restore option and
ensures the restored DC gets added to the correct site.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit ad69aaf7e13435111fc990954ff0bc81ed5325c5)
python/samba/tests/domain_backup.py