]> git.sur5r.net Git - openldap/commitdiff
make test056 back-bdb independent
authorPierangelo Masarati <ando@openldap.org>
Sat, 21 Feb 2009 15:34:12 +0000 (15:34 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 21 Feb 2009 15:34:12 +0000 (15:34 +0000)
tests/scripts/test056-monitor

index 35ae2077a7cffd5bd92647c2357183e7b215dfe8..2998c7c5ca8ced245079ad36fad422ac1d7a2b69 100755 (executable)
@@ -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"