summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-09-21 23:36:46 -0700
committerAndrew Bartlett <abartlet@samba.org>2013-09-22 14:39:50 -0700
commit9c11ad25b211242cbe526f280688640658c4a365 (patch)
treec99df3e7c9140610d94f55afdd9097f26c529fa0 /testprogs
parent9b8e174fe8cac61cfcfa1c76e8cab2450e4a0af5 (diff)
downloadsamba-9c11ad25b211242cbe526f280688640658c4a365.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>
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 a06e025c2a7..fd66375d150 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
}