From cd8c1faecbacfeeb9c491fa662a04a6934f0869b Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 6 Dec 2009 14:04:02 +0000 Subject: [PATCH] ITS#5810: fix previous commit - skip back-null --- tests/scripts/test025-limits | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.5