From: Howard Chu Date: Thu, 17 Feb 2011 03:23:14 +0000 (+0000) Subject: ITS#6404 fix exit codes X-Git-Tag: MIGRATION_CVS2GIT~73 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=844680ba4aceb8fd03af927517934c4297a2954a;p=openldap ITS#6404 fix exit codes --- diff --git a/tests/scripts/test020-proxycache b/tests/scripts/test020-proxycache index fa8f38463c..373b914ce4 100755 --- a/tests/scripts/test020-proxycache +++ b/tests/scripts/test020-proxycache @@ -152,7 +152,7 @@ fi grep "query template" $LOG2 > /dev/null RC=$? if test $RC != 0 ; then - echo "Debug messages unavailable, test aborted..." + echo "Debug messages unavailable, remaining test skipped..." test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait exit 0 fi @@ -256,7 +256,7 @@ case $RC in 0) echo "ldapsearch should have failed!" test $KILLSERVERS != no && kill -HUP $KILLPIDS - exit $RC + exit 1 ;; 4) echo "ldapsearch failed ($RC)" @@ -283,7 +283,7 @@ case $RC in 0) echo "ldapsearch should have failed!" test $KILLSERVERS != no && kill -HUP $KILLPIDS - exit $RC + exit 1 ;; 4) echo "ldapsearch failed ($RC)" @@ -406,7 +406,7 @@ case $RC in 0) echo "ldapsearch should have failed!" test $KILLSERVERS != no && kill -HUP $KILLPIDS - exit $RC + exit 1 ;; 4) echo "ldapsearch failed ($RC)" @@ -433,7 +433,7 @@ case $RC in 0) echo "ldapsearch should have failed!" test $KILLSERVERS != no && kill -HUP $KILLPIDS - exit $RC + exit 1 ;; 4) echo "ldapsearch failed ($RC)"