summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-04-04 10:40:35 +1300
committerKarolin Seeger <kseeger@samba.org>2014-07-15 12:46:15 +0200
commitf18a67a840b04146c1f23f902cb2efbed0722b52 (patch)
treeab314b63316b8f5ef40760d0fa1c37557f12a368 /testprogs
parentddfbfd752b202264f88b398e410592d190f41d00 (diff)
downloadsamba-f18a67a840b04146c1f23f902cb2efbed0722b52.tar.gz
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> (cherry picked from commit 7c2bf8d2bc5230e4bd98cc5a0f1b8f3cc56a3f77)
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/dbcheck-oldrelease.sh4
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