]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test048-syncrepl-multiproxy
ITS#5910
[openldap] / tests / scripts / test048-syncrepl-multiproxy
index 3e15a7b991f141f7ecfa7d73a7ddd5004ae561d9..eb9a444dadc08088e67734f46d60703096d16896 100755 (executable)
@@ -119,7 +119,7 @@ if test $RC != 0 ; then
 fi
 
 echo "Starting R1 slave slapd on TCP/IP port $PORT3..."
-. $CONFFILTER $BACKEND $MONITORDB < $RSLAVECONF | sed -e 's;\.2\.;.3.;' > $CONF3
+. $CONFFILTER $BACKEND $MONITORDB < $RSLAVECONF | sed -e 's;\.2\.\([^/]*\)$;.3.\1;' > $CONF3
 $SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
 R1SLAVEPID=$!
 if test $WAIT != 0 ; then