From: Hallvard Furuseth Date: Fri, 18 Feb 2011 17:33:59 +0000 (+0000) Subject: More ITS#6404 fix test020-proxycache exit codes X-Git-Tag: MIGRATION_CVS2GIT~71 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1f32047d1d832a68c17aebd8d20b7ec4bf2c9bf;p=openldap More ITS#6404 fix test020-proxycache exit codes --- diff --git a/tests/scripts/test020-proxycache b/tests/scripts/test020-proxycache index 373b914ce4..763057975b 100755 --- a/tests/scripts/test020-proxycache +++ b/tests/scripts/test020-proxycache @@ -555,7 +555,7 @@ RC=$? if test $RC != 0 ; then echo "Refresh failed" test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait - exit 0 + exit 1 fi echo "" @@ -580,7 +580,7 @@ RC=$? if test $RC != 0 ; then echo "Refresh failed" test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait - exit 0 + exit 1 fi CNT=`expr $CNT + 1` @@ -602,7 +602,7 @@ RC=$? if test $RC != 0 ; then echo "Refresh failed" test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait - exit 0 + exit 1 fi echo "" @@ -620,7 +620,7 @@ RC=`grep "CACH.* BIND" $LOG2 | wc -l` if test $RC != 3 ; then echo "ldappasswd didn't update the cache" test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait - exit 0 + exit 1 fi CNT=`expr $CNT + 1` @@ -641,7 +641,7 @@ RC=`grep "CACH.* BIND" $LOG2 | wc -l` if test $RC != 4 ; then echo "Bind wasn't answered from cache" test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait - exit 0 + exit 1 fi test $KILLSERVERS != no && kill -HUP $KILLPIDS