summaryrefslogtreecommitdiffstats
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-04-04 10:40:35 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-05-03 07:57:13 +0200
commit7c2bf8d2bc5230e4bd98cc5a0f1b8f3cc56a3f77 (patch)
tree3d5337b4982ed2ef1c8731369798aedc4ccaad5f /testprogs
parentb19d80d0a97faffc165f068612f74d4ef8d7e5da (diff)
downloadsamba-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-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