From: Quanah Gibson-Mount Date: Thu, 24 Mar 2011 01:22:40 +0000 (+0000) Subject: More for ITS#6404 X-Git-Tag: OPENLDAP_REL_ENG_2_4_25~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ce2e24d12e7c0da32d31361c99c44f78d5e13e7;p=openldap More for ITS#6404 --- 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 diff --git a/tests/scripts/test038-retcode b/tests/scripts/test038-retcode index 65119936ea..777de35208 100755 --- a/tests/scripts/test038-retcode +++ b/tests/scripts/test038-retcode @@ -77,7 +77,7 @@ RC=$? if test $RC != 3 ; then echo "ldapsearch failed ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS - exit $RC + exit 1 fi echo "Testing modify for unwillingToPerform..." @@ -90,7 +90,7 @@ RC=$? if test $RC != 53 ; then echo "ldapmodify failed ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS - exit $RC + exit 1 fi echo "Testing compare for success after sleep (2 s)..."