]> git.sur5r.net Git - openldap/commitdiff
Should work now when using custom SLAPD_BASEPORT setting (ITS#6213)
authorRalf Haferkamp <ralf@openldap.org>
Tue, 14 Jul 2009 13:35:56 +0000 (13:35 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Tue, 14 Jul 2009 13:35:56 +0000 (13:35 +0000)
tests/data/monitor1.out
tests/scripts/test056-monitor

index 8b394dfe9255a1484990a358706426dcc58f5df0..06beecc8911a140cd8a3e8e5d48cb4b6c450fd7c 100644 (file)
@@ -9,8 +9,8 @@ monitorConnectionGet: 2
 monitorConnectionRead: 2
 monitorConnectionWrite: 0
 monitorConnectionMask: rx
-monitorConnectionListener: ldap://localhost:9011/
-monitorConnectionLocalAddress: IP=127.0.0.1:9011
+monitorConnectionListener: ldap://localhost:@PORT1@/
+monitorConnectionLocalAddress: IP=127.0.0.1:@PORT1@
 entryDN: cn=Connection 1,cn=Connections,cn=Monitor
 
 dn: cn=Connections,cn=Monitor
index 36b5cc54cbb684c42561441db4c343a2efcace06..109edfd3c708a3ce155ab80c9cc4f78ee000eda8 100755 (executable)
@@ -66,7 +66,7 @@ localrewrite='s/=127\.0\.0\.1:/=LOCAL:/; s/=\[::1\]:/=LOCAL:/'
 echo "Filtering ldapsearch results..."
 sed -e "$localrewrite" < $SEARCHOUT   | . $LDIFFILTER > $SEARCHFLT
 echo "Filtering expected data..."
-sed -e "$localrewrite" < $MONITOROUT1 | . $LDIFFILTER > $LDIFFLT
+. $CONFFILTER < $MONITOROUT1 | sed -e "$localrewrite" | . $LDIFFILTER > $LDIFFLT
 echo "Comparing filter output..."
 $CMP $SEARCHFLT $LDIFFLT > $CMPOUT