mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-28 09:39:18 -05:00
More ITS#5265: Disable unsupported back-ldif tests
This commit is contained in:
parent
30f401c628
commit
1d1b05e518
2 changed files with 11 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue