diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-04-04 10:40:35 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-05-03 07:57:13 +0200 |
commit | 7c2bf8d2bc5230e4bd98cc5a0f1b8f3cc56a3f77 (patch) | |
tree | 3d5337b4982ed2ef1c8731369798aedc4ccaad5f /testprogs | |
parent | b19d80d0a97faffc165f068612f74d4ef8d7e5da (diff) | |
download | samba-7c2bf8d2bc5230e4bd98cc5a0f1b8f3cc56a3f77.tar.gz samba-7c2bf8d2bc5230e4bd98cc5a0f1b8f3cc56a3f77.tar.xz samba-7c2bf8d2bc5230e4bd98cc5a0f1b8f3cc56a3f77.zip |
selftest: Add tests for dbcheck detection and removal of partial objects
To avoid listing all the provision snapshots, we use a broader blacklist for waf dist
and a whitelist for dbcheck-oldrelease.sh
Andrew Bartlett
Change-Id: Iab0ff4be0b4287dc128a49302836a6f0f7b39678
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/dbcheck-oldrelease.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testprogs/blackbox/dbcheck-oldrelease.sh b/testprogs/blackbox/dbcheck-oldrelease.sh index e536e84230c..fbc9e9b22d4 100755 --- a/testprogs/blackbox/dbcheck-oldrelease.sh +++ b/testprogs/blackbox/dbcheck-oldrelease.sh @@ -38,9 +38,9 @@ dbcheck_clean() { } # This should 'fail', because it returns the number of modified records. -# We don't need to run this against 4.1.0rc3 +# We don't need to run this against 4.1 releases dbcheck_acl_reset() { - if [ x$RELEASE != x"release-4-1-0rc3" ]; then + if [ x$RELEASE = x"release-4-0-0" -o x$RELEASE = x"alpha13" ]; then $PYTHON $BINDIR/samba-tool dbcheck --reset-well-known-acls --cross-ncs --fix --yes -H tdb://$PREFIX_ABS/${RELEASE}/private/sam.ldb $@ else return 1 |