do not overflow exit status. [RT #42643]

This commit is contained in:
Mark Andrews
2016-06-14 13:48:39 +10:00
parent ecff557eeb
commit 3635d8f910
93 changed files with 119 additions and 100 deletions

View File

@@ -147,4 +147,5 @@ status=`expr $status + $ret`
test_del test6.ipv6.example.nil. AAAA || ret=1
status=`expr $status + $ret`
exit $status
echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1