]> git.saurik.com Git - apt.git/blobdiff - test/integration/run-tests
prevent MarkInstall of unsynced Multi-Arch:same siblings
[apt.git] / test / integration / run-tests
index 2929868221be36833f295edcb958aab88fb472a4..18474b20f6a3dd67c0163c6bdcaf3b0b991a036a 100755 (executable)
@@ -17,6 +17,10 @@ elif [ -z "${MSGLEVEL}" ]; then
        export MSGLEVEL=2
 fi
 
+if [ -z "$MSGLEVEL" ]; then
+       MSGLEVEL=5
+fi
+
 for testcase in $(run-parts --list $DIR | grep '/test-'); do
        if [ "$MSGLEVEL" -le 2 ]; then
                echo -n "${CTEST}Testcase ${CHIGH}$(basename ${testcase})${CRESET}: "
@@ -33,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))