# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
-## Copyright 1998-2007 The OpenLDAP Foundation.
+## Copyright 1998-2012 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
echo "running defines.sh"
. $SRCDIR/scripts/defines.sh
-if test "$AC_WITH_TLS" != "yes" ; then
- echo "test disabled, requires --with-tls"
- exit 0
-fi
-
mkdir -p $TESTDIR $DBDIR1
echo "Running slapadd to build slapd database..."
test $KILLSERVERS != no && kill -HUP $KILLPIDS
-if test "$WITHTLS" = no ; then
- echo "Certificate matching not suported without TLS"
- LDIF=$CERTIFICATEOUT
-else
- LDIF=$CERTIFICATETLS
-fi
+LDIF=$CERTIFICATETLS
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