mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#5810: Skip test for back-null
This commit is contained in:
parent
3840353d6a
commit
27dc946239
@ -16,10 +16,11 @@
|
||||
echo "running defines.sh"
|
||||
. $SRCDIR/scripts/defines.sh
|
||||
|
||||
if test $BACKEND = "ldif" ; then
|
||||
echo "LDIF backend does not support acls, test skipped"
|
||||
case $BACKEND in ldif | null)
|
||||
# LDIF lacks ACL support, NULL cannot hold dynamic entries
|
||||
echo "Test does not support $BACKEND backend, test skipped"
|
||||
exit 0
|
||||
fi
|
||||
esac
|
||||
|
||||
if test $DDS = ddsno; then
|
||||
echo "Dynamic Directory Services overlay not available, test skipped"
|
||||
|
@ -21,6 +21,11 @@ if test $SYNCPROV = syncprovno; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test $BACKEND = null; then
|
||||
echo "$BACKEND backend does not support cn=config, test skipped"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
PRODIR=$TESTDIR/pro
|
||||
CONDIR=$TESTDIR/con1
|
||||
DBPRO=$PRODIR/db
|
||||
|
@ -21,6 +21,11 @@ if test $SYNCPROV = syncprovno; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test $BACKEND = null; then
|
||||
echo "$BACKEND backend does not support cn=config, test skipped"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
MMR=${MMR-4}
|
||||
|
||||
if [ $MMR -gt 9 ]; then
|
||||
|
@ -21,6 +21,11 @@ if test $MEMBEROF = memberofno; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test $BACKEND = null; then
|
||||
echo "$BACKEND backend does not support cn=config, test skipped"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mkdir -p $TESTDIR $DBDIR1 $TESTDIR/confdir
|
||||
|
||||
$SLAPPASSWD -g -n >$CONFIGPWF
|
||||
|
@ -27,6 +27,11 @@ if test $SYNCPROV = syncprovno; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test $BACKEND = null; then
|
||||
echo "$BACKEND backend does not support cn=config, test skipped"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
PRODDIR=$TESTDIR/prod
|
||||
PRO2DIR=$TESTDIR/pro2
|
||||
CONSDIR=$TESTDIR/cons
|
||||
|
@ -27,10 +27,10 @@ if test $REFINT = refintno; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test "$BACKEND" = "bdb" ; then
|
||||
echo "Test does not support $BACKEND"
|
||||
case $BACKEND in bdb | null)
|
||||
echo "Test does not support $BACKEND, test skipped"
|
||||
exit 0
|
||||
fi
|
||||
esac
|
||||
|
||||
mkdir -p $TESTDIR $DBDIR1 $TESTDIR/confdir
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user