X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fscripts%2Ftest040-subtree-rename;h=cfae78d9b09b239f80cd04545bd72bdae42a5550;hb=3743a5a68e4d608949d5fd04904733ee5c1ac959;hp=f4c0f24188db7eddbd33e1fe0077ff6d363054dc;hpb=4af9eb971559e3a1f0432615e93ec870dc753ddb;p=openldap diff --git a/tests/scripts/test040-subtree-rename b/tests/scripts/test040-subtree-rename index f4c0f24188..cfae78d9b0 100755 --- a/tests/scripts/test040-subtree-rename +++ b/tests/scripts/test040-subtree-rename @@ -2,7 +2,7 @@ # $OpenLDAP$ */ ## This work is part of OpenLDAP Software . ## -## Copyright 1998-2009 The OpenLDAP Foundation. +## Copyright 1998-2012 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -16,13 +16,10 @@ echo "running defines.sh" . $SRCDIR/scripts/defines.sh -case $BACKEND in -hdb | ldif) - ;; -*) +if test $BACKEND = bdb ; then echo "subtree rename not supported by back-$BACKEND" exit 0 -esac +fi mkdir -p $TESTDIR $DBDIR1 @@ -194,9 +191,9 @@ test $KILLSERVERS != no && kill -HUP $KILLPIDS LDIF=$SUBTREERENAMEOUT echo "Filtering ldapsearch results..." -. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +$LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif used to create database..." -. $LDIFFILTER < $LDIF > $LDIFFLT +$LDIFFILTER < $LDIF > $LDIFFLT echo "Comparing filter output..." $CMP $SEARCHFLT $LDIFFLT > $CMPOUT