]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test025-limits
s/ldap_sync.h/ldap.h/
[openldap] / tests / scripts / test025-limits
index 036c798a2a33bf883cfad68fc205dda79c921d71..4dedbd11d8d0a11348da85f40fe5382c257ef850 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2007 The OpenLDAP Foundation.
+## Copyright 1998-2008 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -496,6 +496,8 @@ case $RC in
        ;;
 esac
 
+case $BACKEND in bdb | hdb)
+
 echo "Testing higher than unchecked limit requested for unchecked limited ID..."
 $LDAPRSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 -w secret \
        -D 'cn=Unchecked Limited User,ou=People,dc=example,dc=com' \
@@ -547,6 +549,9 @@ case $RC in
                exit $RC
        ;;
 esac
+;;
+*)     echo "Skipping test for unchecked limit with $BACKEND backend." ;;
+esac
 
 echo "Testing no limits requested for limited regex..."
 $LDAPRSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 -w secret \