do not overflow exit status. [RT #42643]

(cherry picked from commit 3635d8f910)
This commit is contained in:
Mark Andrews
2016-06-14 13:48:39 +10:00
parent ee76654094
commit b283aa31fc
74 changed files with 89 additions and 78 deletions

View File

@@ -328,7 +328,8 @@ if [ -n "${DELV}" -a -x "${DELV}" ] ; then
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
exit $status
echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
else
echo "${DELV:-delv} is not available, so skipping these delv tests"
fi