selftest: Fix upgradeprovision test by importing new objects for schema 45
authorAndrew Bartlett <abartlet@samba.org>
Tue, 12 Dec 2017 02:26:35 +0000 (15:26 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Dec 2017 07:20:16 +0000 (08:20 +0100)
commitf4d9b797e22a4cade3752930483bfc7a5a955338
tree55fcaade860fe7111e336b634e48b3cace582057
parentd157f9752bb3590ce74634db96d5c36b84ce792e
selftest: Fix upgradeprovision test by importing new objects for schema 45

The recent schema changes mean that the upgradeprovision test starts
failing. This is because it's using an old 4.0.0 schema (that doesn't
have these schema changes), but it's comparing it against a fresh
provision (which does have the changes). We can avoid this failure by
using the 'samba-tool domain schemaupgrade' to bring the old 4.0.0 schema
in line with a fresh provision. Note that the 'upgradeprovision --full'
test doesn't need this change as it seems to more aggressively copy over
any schema differences with a fresh provision.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
selftest/knownfail.d/schema45 [deleted file]
testprogs/blackbox/upgradeprovision-oldrelease.sh