From 74051d0dfcf6cc8a0bd6390ff397530c24c47e95 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 22 Oct 2003 21:20:58 +0000 Subject: [PATCH] Check ldapmodify for success. --- tests/scripts/test007-replication | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5