From 777cf6e3a38824f98c6f735ba6c2189486d8f5ba Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 4 May 2001 22:03:45 +0000 Subject: [PATCH] Use KILL to kill slurpd. Not sure why its not shutting down with -INT under FreeBSD 4, but I have no time to figure this out. --- tests/scripts/test007-replication | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/scripts/test007-replication b/tests/scripts/test007-replication index e56e765f75..850052f87d 100755 --- a/tests/scripts/test007-replication +++ b/tests/scripts/test007-replication @@ -76,7 +76,8 @@ $LDAPADD -D "$MANAGERDN" -h localhost -p $PORT -w $PASSWD < \ RC=$? if test $RC != 0 ; then echo "ldapadd failed ($RC)!" - kill -HUP $PID $SLAVEPID $SLURPPID + kill -INT $PID $SLAVEPID + kill -KILL $SLURPPID exit $RC fi @@ -151,7 +152,8 @@ $LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $PORT \ if test $RC != 0 ; then echo "ldapsearch failed ($RC)!" - kill -INT $PID $SLAVEPID $SLURPPID + kill -INT $PID $SLAVEPID + kill -KILL $SLURPPID exit $RC fi @@ -161,11 +163,13 @@ $LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $SLAVEPORT \ if test $RC != 0 ; then echo "ldapsearch failed ($RC)!" - kill -INT $PID $SLAVEPID $SLURPPID + kill -INT $PID $SLAVEPID + kill -KILL $SLURPPID exit $RC fi -kill -INT $PID $SLAVEPID $SLURPPID +kill -INT $PID $SLAVEPID +kill -KILL $SLURPPID SEARCHOUT=$MASTEROUT LDIF=$SLAVEOUT -- 2.39.5