From 94c92d5250ebac2eac30dc9905a60b06eba56038 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Wed, 21 Jan 2009 00:30:45 +0000 Subject: [PATCH] ITS#5408: Support back-ldif --- tests/scripts/test033-glue-syncrepl | 9 +++++---- tests/scripts/test040-subtree-rename | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/scripts/test033-glue-syncrepl b/tests/scripts/test033-glue-syncrepl index e8ee1f8969..65db364f21 100755 --- a/tests/scripts/test033-glue-syncrepl +++ b/tests/scripts/test033-glue-syncrepl @@ -1,4 +1,5 @@ #! /bin/sh +# $OpenLDAP$ */ ## This work is part of OpenLDAP Software . ## ## Copyright 1998-2008 The OpenLDAP Foundation. @@ -12,10 +13,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 +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..." 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" -- 2.39.5