From: Kurt Zeilenga Date: Wed, 22 Oct 2003 21:20:58 +0000 (+0000) Subject: Check ldapmodify for success. X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~507 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=74051d0dfcf6cc8a0bd6390ff397530c24c47e95;p=openldap Check ldapmodify for success. --- diff --git a/tests/scripts/test007-replication b/tests/scripts/test007-replication index 776366647a..4ab65e5a82 100755 --- a/tests/scripts/test007-replication +++ b/tests/scripts/test007-replication @@ -167,6 +167,12 @@ changetype: delete EOMODS +if test $RC != 0 ; then + echo "ldapmodify failed ($RC)!" + test $KILLSERVERS != no && kill -HUP $KILLPIDS + exit $RC +fi + echo "Waiting 15 seconds for slurpd to send changes..." sleep 15