]> git.sur5r.net Git - openldap/commitdiff
More for ITS#5265
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 11 Feb 2008 23:26:02 +0000 (23:26 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 11 Feb 2008 23:26:02 +0000 (23:26 +0000)
tests/scripts/test025-limits
tests/scripts/test037-manage

index 036c798a2a33bf883cfad68fc205dda79c921d71..5651842cb15fbbfa932c446b06dfe93b7261f940 100755 (executable)
@@ -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 \
index 7527e122e0a1277cbe9cb952d8c63583ec7bece5..84a6d1fc8f360a318493e71bec5aaf78f43705f1 100755 (executable)
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
 
+if test $BACKEND = "ldif" ; then 
+       echo "LDIF backend does not support manageDIT control, test skipped"
+       exit 0
+fi 
+
 mkdir -p $TESTDIR $DBDIR1
 
 echo "Running slapadd to build slapd database..."