. $SRCDIR/scripts/defines.sh
if test ! -x $SLURPD ; then
- echo ">>>>> $SLURPD is not executable or do not exist."
+ echo ">>>>> $SLURPD is not executable or does not exist."
echo ">>>>> Test skipped."
exit 0
fi
fi
KILLPIDS="$KILLPIDS $SLAVEPID"
+sleep 1
+
echo "Using ldapsearch to check that master slapd is running..."
for i in 0 1 2 3 4 5; do
$LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \
fi
KILLPIDS="$KILLPIDS $SLAVEPID"
+sleep 1
+
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 $PORT2 \
exit $RC
fi
- echo "Waiting 5 seconds for slurpd to send changes..."
- sleep 5
+ echo "Waiting 15 seconds for slurpd to send changes..."
+ sleep 15
fi
echo "Using ldapsearch to read all the entries from the master..."