selftest: Add basic test for schema upgrade
authorTim Beale <timbeale@catalyst.net.nz>
Fri, 6 Oct 2017 03:30:40 +0000 (16:30 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Dec 2017 07:20:16 +0000 (08:20 +0100)
commit197883838f8ecb027e9d0375ff5238aec1567a42
tree4f20ea663cac0de28b1c17b645ea01b0d77c86c8
parent6bdbcb1d4c577b019f74f027e5a753583f34bbf8
selftest: Add basic test for schema upgrade

This tests that we can provision using both the 2008 and 2012 schema,
that we can upgrade a 2008 Samba instance to use the 2012 schema, and
that when we do that the result (more or less) matches a straight
2012 provision.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/tests.py
testprogs/blackbox/schemaupgrade.sh [new file with mode: 0755]