ITS#5810: Skip test for back-null

This commit is contained in:
Hallvard Furuseth 2009-12-04 16:45:19 +00:00
parent 3840353d6a
commit 27dc946239
6 changed files with 27 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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