Commit 9f8a408c authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#9282 Extend test to cover the second issue fixed

parent 04263407
......@@ -67,7 +67,7 @@ while [ $n -le $MMR ]; do
CFDIR=${XDIR}$n/slapd.d
echo "Starting provider slapd on TCP/IP URI $MYURI"
$SLAPD -F $CFDIR -h $MYURI -d $LVL $TIMING > $MYLOG 2>&1 &
$SLAPD -F $CFDIR -h $MYURI -d $LVL -d sync $TIMING > $MYLOG 2>&1 &
PID=$!
if test $WAIT != 0 ; then
......@@ -248,6 +248,16 @@ if test $? != 0 ; then
exit 1
fi
echo "Checking provider 2 sent the right cookie..."
grep "starting refresh.*csn=.*#002#.*" $LOG2 >/dev/null 2>&1
RC=$?
if test $RC != 0 ; then
echo "Provider 2 did not send its CSN in the cookie"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC
fi
test $KILLSERVERS != no && kill -HUP $KILLPIDS
echo ">>>>> Test succeeded"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment