summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-09-21 23:36:46 -0700
committerKarolin Seeger <kseeger@samba.org>2013-09-27 09:28:57 +0200
commitbdab150a771836b79f999a40da0a9bc80c5edf01 (patch)
tree1274475db32277951bb7177848feeeb73dba4b26 /testprogs
parent476e03ebac0d1d7b969faab5c1fb49e844d6a9e9 (diff)
downloadsamba-bdab150a771836b79f999a40da0a9bc80c5edf01.tar.gz
selftest: Only run referenceprovision and ldapcmp for the 4.0.0 test
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> (cherry picked from commit 9c11ad25b211242cbe526f280688640658c4a365)
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/dbcheck-oldrelease.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/testprogs/blackbox/dbcheck-oldrelease.sh b/testprogs/blackbox/dbcheck-oldrelease.sh
index a06e025c2a..fd66375d15 100755
--- a/testprogs/blackbox/dbcheck-oldrelease.sh
+++ b/testprogs/blackbox/dbcheck-oldrelease.sh
@@ -47,17 +47,19 @@ dbcheck_acl_reset_clean() {
}
referenceprovision() {
+ if [ x$RELEASE == x"release-4-0-0" ]; then
$PYTHON $BINDIR/samba-tool domain provision --server-role="dc" --domain=SAMBA --host-name=ares --realm=${RELEASE}.samba.corp --targetdir=$PREFIX_ABS/${RELEASE}_reference --use-ntvfs --host-ip=127.0.0.1 --host-ip6=::1
+ fi
}
ldapcmp() {
- if [ x$RELEASE != x"alpha13" ]; then
+ if [ x$RELEASE == x"release-4-0-0" ]; then
$PYTHON $BINDIR/samba-tool ldapcmp tdb://$PREFIX_ABS/${RELEASE}_reference/private/sam.ldb tdb://$PREFIX_ABS/${RELEASE}/private/sam.ldb --two --skip-missing-dn --filter=dnsRecord
fi
}
ldapcmp_sd() {
- if [ x$RELEASE != x"alpha13" ]; then
+ if [ x$RELEASE == x"release-4-0-0" ]; then
$PYTHON $BINDIR/samba-tool ldapcmp tdb://$PREFIX_ABS/${RELEASE}_reference/private/sam.ldb tdb://$PREFIX_ABS/${RELEASE}/private/sam.ldb --two --sd --skip-missing-dn
fi
}