From: Hallvard Furuseth Date: Sun, 6 Dec 2009 14:04:02 +0000 (+0000) Subject: ITS#5810: fix previous commit - skip back-null X-Git-Tag: ACLCHECK_0~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd8c1faecbacfeeb9c491fa662a04a6934f0869b;p=openldap ITS#5810: fix previous commit - skip back-null --- diff --git a/tests/scripts/test025-limits b/tests/scripts/test025-limits index 91520fd378..8428e2b9b3 100755 --- a/tests/scripts/test025-limits +++ b/tests/scripts/test025-limits @@ -18,6 +18,11 @@ echo "running defines.sh" . $SRCDIR/scripts/defines.sh +if test $BACKEND = null; then + echo "Limits irrelevant to $BACKEND backend, test skipped" + exit 0 +fi + mkdir -p $TESTDIR $DBDIR1 echo "Running slapadd to build slapd database..." @@ -29,11 +34,6 @@ if test $RC != 0 ; then exit $RC fi -if test $BACKEND = null; then - echo "Limits irrelevant to $BACKEND backend, test skipped" - exit 0 -fi - echo "Running slapindex to index slapd database..." . $CONFFILTER $BACKEND $MONITORDB < $LIMITSCONF > $CONF1 $SLAPINDEX -f $CONF1