Make check-ldap work again

(cherry picked from commit 7a1f7499bd28447159000c31a6638b48ab2d9596)
This commit is contained in:
Nicolas Williams
2016-12-19 14:18:12 -06:00
parent 586e5f6d9d
commit bda422f40b
3 changed files with 9 additions and 4 deletions

View File

@@ -10,7 +10,9 @@ TESTS = check-ldap
port = 49188 port = 49188
do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \ do_subst = sed \
-e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
-e 's,[@]srcdir[@],$(srcdir),g' \
-e 's,[@]port[@],$(port),g' \ -e 's,[@]port[@],$(port),g' \
-e 's,[@]objdir[@],$(top_builddir)/tests/ldap,g' \ -e 's,[@]objdir[@],$(top_builddir)/tests/ldap,g' \
-e 's,[@]EGREP[@],$(EGREP),g' -e 's,[@]EGREP[@],$(EGREP),g'

View File

@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# Copyright (c) 2006 - 2007 Kungliga Tekniska Högskolan # Copyright (c) 2006 - 2016 Kungliga Tekniska Högskolan
# (Royal Institute of Technology, Stockholm, Sweden). # (Royal Institute of Technology, Stockholm, Sweden).
# All rights reserved. # All rights reserved.
# #
@@ -34,8 +34,12 @@
# $Id$ # $Id$
# #
env_setup="@env_setup@"
srcdir="@srcdir@" srcdir="@srcdir@"
objdir="@objdir@" objdir="@objdir@"
. ${env_setup}
EGREP="@EGREP@" EGREP="@EGREP@"
R=TEST.H5L.SE R=TEST.H5L.SE

View File

@@ -20,8 +20,7 @@ include modules.conf
defaultsearchbase "ou=TEST,dc=H5L,dc=SE" defaultsearchbase "ou=TEST,dc=H5L,dc=SE"
backend bdb database bdb
database bdb
suffix "o=TEST,dc=H5L,dc=SE" suffix "o=TEST,dc=H5L,dc=SE"
directory db directory db
index objectClass eq index objectClass eq