BIND 10 trac1213, updated. f2b5473fc2f2dfa13485fe9822e84fadd69ac950 [1213] Correct status return codes in case of error

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Oct 12 13:16:12 UTC 2011


The branch, trac1213 has been updated
       via  f2b5473fc2f2dfa13485fe9822e84fadd69ac950 (commit)
      from  0cfe2c51b17627d777cec9c33f9652b61f14427c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f2b5473fc2f2dfa13485fe9822e84fadd69ac950
Author: Stephen Morris <stephen at isc.org>
Date:   Wed Oct 12 14:15:22 2011 +0100

    [1213] Correct status return codes in case of error

-----------------------------------------------------------------------

Summary of changes:
 tests/system/ixfr/in-2/tests.sh |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/tests/system/ixfr/in-2/tests.sh b/tests/system/ixfr/in-2/tests.sh
index 84fc343..b11df4c 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




More information about the bind10-changes mailing list