diff --git a/tests/scripts/test058-syncrepl-asymmetric b/tests/scripts/test058-syncrepl-asymmetric index 86e62ca992..45d27e47d4 100755 --- a/tests/scripts/test058-syncrepl-asymmetric +++ b/tests/scripts/test058-syncrepl-asymmetric @@ -1641,7 +1641,7 @@ for i in 1 2 3 4 5; do "(description=Modify$NMUM)" 2>&1 | awk '/^dn:/ {print "NOK"}'` if test "x$RESULT" = "xNOK" ; then echo "Change was replicated to site1 search!" - test $KILLSERVERS != no && KILL -HUP $KILLPIDS + test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi sleep 1 @@ -1654,7 +1654,7 @@ for i in 1 2 3 4 5; do "(description=Modify$MNUM)" 2>&1 | awk '/^dn:/ {print "NOK"}'` if test "x$RESULT" = "xNOK" ; then echo "Change was replicated to central search!" - test $KILLSERVERS != no && KILL -HUP $KILLPIDS + test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi sleep 1 @@ -1729,7 +1729,7 @@ for i in 1 2 3 4 5; do "(description=Modify$MNUM)" 2>&1 | awk '/^dn:/ {print "NOK"}'` if test "x$RESULT" = "xNOK" ; then echo "Change was replicated to central search!" - test $KILLSERVERS != no && KILL -HUP $KILLPIDS + test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi sleep 1 @@ -1742,7 +1742,7 @@ for i in 1 2 3 4 5; do "(description=Modify$MNUM)" 2>&1 | awk '/^dn:/ {print "NOK"}'` if test "x$RESULT" = "xNOK" ; then echo "Change was replicated to central search!" - test $KILLSERVERS != no && KILL -HUP $KILLPIDS + test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi sleep 1 @@ -1799,7 +1799,7 @@ for i in 1 2 3 4 5; do "(description=Modify$NMUM)" 2>&1 | awk '/^dn:/ {print "NOK"}'` if test "x$RESULT" = "xNOK" ; then echo "Change was replicated to site2 search!" - test $KILLSERVERS != no && KILL -HUP $KILLPIDS + test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi sleep 1 @@ -1875,7 +1875,7 @@ for i in 1 2 3 4 5; do "(description=Modify$MNUM)" 2>&1 | awk '/^dn:/ {print "NOK"}'` if test "x$RESULT" = "xNOK" ; then echo "Change was replicated to site2 search!" - test $KILLSERVERS != no && KILL -HUP $KILLPIDS + test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi sleep 1 @@ -1888,7 +1888,7 @@ for i in 1 2 3 4 5; do "(description=Modify$MNUM)" 2>&1 | awk '/^dn:/ {print "NOK"}'` if test "x$RESULT" = "xNOK" ; then echo "Change was replicated to site2 search!" - test $KILLSERVERS != no && KILL -HUP $KILLPIDS + test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi sleep 1 @@ -1945,7 +1945,7 @@ for i in 1 2 3 4 5; do "(description=Modify$MNUM)" 2>&1 | awk '/^dn:/ {print "NOK"}'` if test "x$RESULT" = "xNOK" ; then echo "Change was replicated to central search!" - test $KILLSERVERS != no && KILL -HUP $KILLPIDS + test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1 fi sleep 1