Commit 27dc9462 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

ITS#5810: Skip test for back-null

parent 3840353d
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment