From: Stephen Morris Date: Wed, 12 Oct 2011 13:15:22 +0000 (+0100) Subject: [1213] Correct status return codes in case of error X-Git-Tag: perftcpdns_before_epoll~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2b5473fc2f2dfa13485fe9822e84fadd69ac950;p=thirdparty%2Fkea.git [1213] Correct status return codes in case of error --- diff --git a/tests/system/ixfr/in-2/tests.sh b/tests/system/ixfr/in-2/tests.sh index 84fc3436be..b11df4c069 100644 --- a/tests/system/ixfr/in-2/tests.sh +++ b/tests/system/ixfr/in-2/tests.sh @@ -31,7 +31,7 @@ echo "I:$SERVER_NAME updating IXFR-server to suitable start version" update_server_zone $SERVER_NAME $SERVER_IP $IXFR_TOP/db.example.n4 if [ $? -ne 0 ]; then - return $status + return 1 fi # The pre-requisites for this test are the same as for the common tests, so @@ -39,7 +39,7 @@ fi . ../common_tests.sh if [ $? -ne 0 ]; then - return $status + return 1 fi # TEMPORARY: at the time of writing (October 2011) BIND 10 does not attempt @@ -77,5 +77,5 @@ then return 1 fi -echo "I:exit status: $status" -exit $status +echo "I:exit status: 0" +return 0