From 136169008331b64d666e1247397db6fc34b05b1e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 21 Feb 2009 15:34:12 +0000 Subject: [PATCH] make test056 back-bdb independent --- tests/scripts/test056-monitor | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/scripts/test056-monitor b/tests/scripts/test056-monitor index 35ae2077a7..2998c7c5ca 100755 --- a/tests/scripts/test056-monitor +++ b/tests/scripts/test056-monitor @@ -91,8 +91,18 @@ fi echo "Filtering ldapsearch results..." . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT +TMPMONITOROUT2=$MONITOROUT2 +case $BACKEND in +bdb|hdb) + ;; +*) + TMPMONITOROUT2=$TESTDIR/monitor2.out + grep -v "olmBDB" $MONITOROUT2 > $TMPMONITOROUT2 + ;; +esac + echo "Comparing filter output..." -$CMP $SEARCHFLT $MONITOROUT2 > $CMPOUT +$CMP $SEARCHFLT $TMPMONITOROUT2 > $CMPOUT if test $? != 0 ; then echo "comparison failed - database monitor output is not correct" -- 2.39.5