]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test025-limits
Fix typo ($backend -> $BACKEND)
[openldap] / tests / scripts / test025-limits
index 9c97245032bf7304000c309c6dbef55b879ead2e..7fa4049a7507bdacce16f9f9a9b482160dab2a2a 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2009 The OpenLDAP Foundation.
+## Copyright 1998-2010 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
 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..."