]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test007-replication
cleanup ($PORT -> $SLAVEPORT)
[openldap] / tests / scripts / test007-replication
index 51b27621eda84ea050faa68327a0deda4b685c88..8deaa2743738c290223222f936ffcaf46c9cb501 100755 (executable)
@@ -64,7 +64,7 @@ done
 
 echo "Using ldapsearch to check that slave slapd is running..."
 for i in 0 1 2 3 4 5; do
-       $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT \
+       $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $SLAVEPORT \
                'objectclass=*' > /dev/null 2>&1
        RC=$?
        if test $RC = 0 ; then