]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test048-syncrepl-multiproxy
ITS#5910 fixed sed pathname substitution
[openldap] / tests / scripts / test048-syncrepl-multiproxy
index fbff911a630f52450c6e28eb357b61798232b811..2bb5629939a11c735abd6c5eb263a809c412de5f 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