There is no SLURPPID to kill

Test is also valid for back-hdb
This commit is contained in:
Howard Chu 2003-05-24 04:30:53 +00:00
parent 73f2048456
commit d8476d75c9
2 changed files with 2 additions and 8 deletions

View file

@ -8,7 +8,7 @@ fi
. $SRCDIR/scripts/args.sh
if test "$BACKEND" != "bdb"; then
if test "$BACKEND" != "bdb" -a "$BACKEND" != "hdb"; then
echo "Test only valid for back-bdb"
exit 0
fi
@ -82,7 +82,6 @@ RC=$?
if test $RC != 0 ; then
echo "ldapadd failed ($RC)!"
kill -HUP $PID $SLAVEPID
kill -HUP $SLURPPID
exit $RC
fi
@ -179,7 +178,6 @@ RC=$?
if test $RC != 0 ; then
echo "ldapsearch failed at master ($RC)!"
kill -HUP $PID $SLAVEPID
kill -HUP $SLURPPID
exit $RC
fi
@ -191,7 +189,6 @@ RC=$?
if test $RC != 0 ; then
echo "ldapsearch failed at slave ($RC)!"
kill -HUP $PID $SLAVEPID
kill -HUP $SLURPPID
exit $RC
fi

View file

@ -8,7 +8,7 @@ fi
. $SRCDIR/scripts/args.sh
if test "$BACKEND" != "bdb"; then
if test "$BACKEND" != "bdb" -a "$BACKEND" != "hdb"; then
echo "Test only valid for back-bdb"
exit 0
fi
@ -82,7 +82,6 @@ RC=$?
if test $RC != 0 ; then
echo "ldapadd failed ($RC)!"
kill -HUP $PID $SLAVEPID
kill -HUP $SLURPPID
exit $RC
fi
@ -179,7 +178,6 @@ RC=$?
if test $RC != 0 ; then
echo "ldapsearch failed at master ($RC)!"
kill -HUP $PID $SLAVEPID
kill -HUP $SLURPPID
exit $RC
fi
@ -191,7 +189,6 @@ RC=$?
if test $RC != 0 ; then
echo "ldapsearch failed at slave ($RC)!"
kill -HUP $PID $SLAVEPID
kill -HUP $SLURPPID
exit $RC
fi