X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/178dd062eeaa1d7e56770455e005dc27aa71f026..2a49601f69e08f06fb2727d869d420daacdd09d5:/test/integration/run-tests diff --git a/test/integration/run-tests b/test/integration/run-tests index 75f2ad662..18474b20f 100755 --- a/test/integration/run-tests +++ b/test/integration/run-tests @@ -37,4 +37,5 @@ for testcase in $(run-parts --list $DIR | grep '/test-'); do done echo "failures: $FAIL" -exit $FAIL +# ensure we don't overflow +exit $((FAIL <= 255 ? FAIL : 255))