blob: f2750262a49ca549d06c8d6149b70610829e6603 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
--- test/test.sh.orig Wed Nov 22 01:21:08 2000
+++ test/test.sh Wed Nov 22 02:12:48 2000
@@ -4,12 +4,12 @@
'openldap1')
# for OpenLDAP1
TESTDIR=./test/openldap1
- LDAPD=/usr/local/openldap-1.2.11/libexec/slapd
+ LDAPD=!!PREFIX!!/libexec/slapd
CONFIG=$TESTDIR/slapd.conf
DBDIR=$TESTDIR/test-db
PIDFILE=$DBDIR/slapd.pid
PORT=6666
- RUBY=ruby-1.6
+ RUBY=!!RUBY!!
LOGFILE=test.log
SERVERLOG=serv.log
LDAPDOPT="-d 2 -f $CONFIG -p $PORT"
@@ -18,12 +18,12 @@
'openldap2')
# for OpenLDAP2
TESTDIR=./test/openldap2
- LDAPD=/usr/local/openldap/libexec/slapd
+ LDAPD=!!PREFIX!!/libexec/slapd
CONFIG=$TESTDIR/slapd.conf
DBDIR=$TESTDIR/test-db
PIDFILE=$DBDIR/slapd.pid
PORT=6666
- RUBY=ruby-1.6
+ RUBY=!!RUBY!!
LOGFILE=test.log
SERVERLOG=serv.log
LDAPURL="ldap://127.0.0.1:$PORT/"
@@ -33,13 +33,13 @@
'openldap2-ssl')
# -- experimental -- OpenLDAP2 with SSL,SASL
TESTDIR=./test/openldap2
- LDAPD=/usr/local/openldap/libexec/slapd
+ LDAPD=!!PREFIX!!/libexec/slapd
CONFIG=$TESTDIR/slapd-ssl.conf
DBDIR=$TESTDIR/test-db
PIDFILE=$DBDIR/slapd.pid
PORT=6666
SSLPORT=6667
- RUBY=ruby-1.6
+ RUBY=!!RUBY!!
LOGFILE=test.log
SERVERLOG=serv.log
LDAPURL="ldaps://127.0.0.1:$SSLPORT/ ldap://127.0.0.1:$PORT/"
@@ -133,4 +133,4 @@
rm -rf $DBDIR
if [ "$CERTFILE" != "" ]; then
rm -f $CERTFILE $KEYFILE
-fi
+fi
|