diff options
author | Tim Beale <timbeale@catalyst.net.nz> | 2017-10-06 16:30:40 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-12-14 08:20:16 +0100 |
commit | 197883838f8ecb027e9d0375ff5238aec1567a42 (patch) | |
tree | 4f20ea663cac0de28b1c17b645ea01b0d77c86c8 /selftest/tests.py | |
parent | 6bdbcb1d4c577b019f74f027e5a753583f34bbf8 (diff) | |
download | samba-197883838f8ecb027e9d0375ff5238aec1567a42.tar.gz |
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>
Diffstat (limited to 'selftest/tests.py')
-rw-r--r-- | selftest/tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/selftest/tests.py b/selftest/tests.py index e65d63d8c6a..713e9d3fbcd 100644 --- a/selftest/tests.py +++ b/selftest/tests.py @@ -131,6 +131,11 @@ plantestsuite( ["PYTHON=%s" % python, os.path.join(bbdir, "runtime-links.sh"), '$PREFIX_ABS/provision', 'release-4-5-0-pre1', configuration]) +plantestsuite( + "samba4.blackbox.schemaupgrade", "none", + ["PYTHON=%s" % python, + os.path.join(bbdir, "schemaupgrade.sh"), + '$PREFIX_ABS/provision', configuration]) planpythontestsuite("none", "samba.tests.upgradeprovision") planpythontestsuite("none", "samba.tests.xattr", py3_compatible=True) planpythontestsuite("none", "samba.tests.ntacls") |