]> git.sur5r.net Git - openldap/commitdiff
ITS#5810: fix previous commit - skip back-null
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 6 Dec 2009 14:04:02 +0000 (14:04 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 6 Dec 2009 14:04:02 +0000 (14:04 +0000)
tests/scripts/test025-limits

index 91520fd3789bb382e8784899ad526c3c2bd5293f..8428e2b9b3f7bb91ab2f7b3e6b4fb831e62f4491 100755 (executable)
 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