From 844680ba4aceb8fd03af927517934c4297a2954a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 17 Feb 2011 03:23:14 +0000 Subject: [PATCH] ITS#6404 fix exit codes --- tests/scripts/test020-proxycache | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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)" -- 2.39.5