From 22083ce4598365e9b45e0f35487862de8f509545 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Tue, 14 Jul 2009 13:35:56 +0000 Subject: [PATCH] Should work now when using custom SLAPD_BASEPORT setting (ITS#6213) --- tests/data/monitor1.out | 4 ++-- tests/scripts/test056-monitor | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/data/monitor1.out b/tests/data/monitor1.out index 8b394dfe92..06beecc891 100644 --- a/tests/data/monitor1.out +++ b/tests/data/monitor1.out @@ -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 diff --git a/tests/scripts/test056-monitor b/tests/scripts/test056-monitor index 36b5cc54cb..109edfd3c7 100755 --- a/tests/scripts/test056-monitor +++ b/tests/scripts/test056-monitor @@ -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 -- 2.39.5