mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
make test056 back-bdb independent
This commit is contained in:
parent
f2a4158e0d
commit
1361690083
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user