More ITS#5265: Disable unsupported back-ldif tests

This commit is contained in:
Hallvard Furuseth 2008-01-07 22:50:01 +00:00
parent 30f401c628
commit 1d1b05e518
2 changed files with 11 additions and 1 deletions

View file

@ -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 \

View file

@ -16,6 +16,11 @@
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..."