Commit 94c92d52 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5408: Support back-ldif

parent ab1a0237
#! /bin/sh
# $OpenLDAP$ */
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
## Copyright 1998-2008 The OpenLDAP Foundation.
......@@ -12,10 +13,10 @@
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
if test "$BACKEND" != "bdb" && test "$BACKEND" != "hdb" ; then
echo "Test does not support $BACKEND"
case $BACKEND in bdb | hdb | ldif) : ;; *)
echo "Test does not support $BACKEND backend, test skipped"
exit 0
fi
esac
echo "running defines.sh"
. $SRCDIR/scripts/defines.sh
......@@ -36,7 +37,7 @@ if test $RC != 0 ; then
exit $RC
fi
rm -f $DBDIR1A/* $DBDIR1B/*
rm -rf $DBDIR1A/* $DBDIR1B/*
cp -pr $DBDIR1C $DBDIR2C
echo "Starting slapd 1 on TCP/IP port $PORT1..."
......
......@@ -17,7 +17,7 @@ echo "running defines.sh"
. $SRCDIR/scripts/defines.sh
case $BACKEND in
hdb)
hdb | ldif)
;;
*)
echo "subtree rename not supported by back-$BACKEND"
......
Supports Markdown
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