]> git.saurik.com Git - apt.git/blobdiff - test/integration/run-tests
merge patch from Daniel Hartwig to Show a error message if {,dist-}upgrade is used...
[apt.git] / test / integration / run-tests
index 75f2ad66224b65b440d67b4fb19ac38be05efd88..18474b20f6a3dd67c0163c6bdcaf3b0b991a036a 100755 (executable)
@@ -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))