From 58acf513f93479d4b4c89e05a699e0bbd5320268 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Fri, 1 Jul 2016 11:19:54 +1200 Subject: dbcheck linked attribute tests: save environment with bad links We save a database snapshot that contains linked attributes that should have been deleted, and make sure dbcheck fixes those links without ruining anything else. Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- selftest/tests.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'selftest') diff --git a/selftest/tests.py b/selftest/tests.py index ccedb4083cb..e02f049fb97 100644 --- a/selftest/tests.py +++ b/selftest/tests.py @@ -99,6 +99,11 @@ plantestsuite( ["PYTHON=%s" % python, os.path.join(bbdir, "upgradeprovision-oldrelease.sh"), '$PREFIX_ABS/provision', 'release-4-0-0', configuration]) +plantestsuite( + "samba4.blackbox.upgradeprovision.release-4-5-0-pre1", "none", + ["PYTHON=%s" % python, + os.path.join(bbdir, "dbcheck-oldrelease.sh"), + '$PREFIX_ABS/provision', 'release-4-5-0-pre1', configuration]) planpythontestsuite("none", "samba.tests.upgradeprovision") planpythontestsuite("none", "samba.tests.xattr") planpythontestsuite("none", "samba.tests.ntacls") -- cgit v1.2.1