projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test for bug 507998
[apt.git]
/
test
/
integration
/
run-tests
diff --git
a/test/integration/run-tests
b/test/integration/run-tests
index 75f2ad66224b65b440d67b4fb19ac38be05efd88..18474b20f6a3dd67c0163c6bdcaf3b0b991a036a 100755
(executable)
--- 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"
done
echo "failures: $FAIL"
-exit $FAIL
+# ensure we don't overflow
+exit $((FAIL <= 255 ? FAIL : 255))