From: Pierangelo Masarati Date: Sun, 10 Nov 2002 22:53:37 +0000 (+0000) Subject: close 'for' appropriately; clean also 'replica' subdir X-Git-Tag: NO_SLAP_OP_BLOCKS~805 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a4bc4af4183d4ca86686925f8ee9e83c5b649c90;p=openldap close 'for' appropriately; clean also 'replica' subdir --- diff --git a/tests/scripts/test007-replication b/tests/scripts/test007-replication index babc6ffcc8..d6fe2d8424 100755 --- a/tests/scripts/test007-replication +++ b/tests/scripts/test007-replication @@ -40,7 +40,7 @@ fi echo "Cleaning up in $DBDIR..." rm -f $DBDIR/[!C]* echo "Cleaning up in $REPLDIR..." -rm -f $REPLDIR/[!C]* +rm -rf $REPLDIR/[!C]* echo "Starting master slapd on TCP/IP port $PORT..." . $CONFFILTER $BACKEND $MONITORDB < $MASTERCONF > $DBCONF @@ -65,12 +65,12 @@ for i in 0 1 2 3 4 5; do $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT \ 'objectclass=*' > /dev/null 2>&1 RC=$? -done if test $RC = 0 ; then break fi echo "Waiting 5 seconds for slapd to start..." sleep 5 +done echo "Using ldapsearch to check that slave slapd is running..." for i in 0 1 2 3 4 5; do