From: Hallvard Furuseth Date: Wed, 12 Nov 2008 01:00:56 +0000 (+0000) Subject: ITS#5408: Support back-ldif X-Git-Tag: ACLCHECK_0~1113 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fda00af4c17d8d6494f184d30be241a94ccf13c6;p=openldap ITS#5408: Support back-ldif --- diff --git a/tests/scripts/test033-glue-syncrepl b/tests/scripts/test033-glue-syncrepl index e8ee1f8969..240f5a38a3 100755 --- a/tests/scripts/test033-glue-syncrepl +++ b/tests/scripts/test033-glue-syncrepl @@ -12,10 +12,10 @@ ## top-level directory of the distribution or, alternatively, at ## . -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 +36,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..." diff --git a/tests/scripts/test040-subtree-rename b/tests/scripts/test040-subtree-rename index 5d81ad144d..56c3e2192a 100755 --- a/tests/scripts/test040-subtree-rename +++ b/tests/scripts/test040-subtree-rename @@ -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"