summaryrefslogtreecommitdiff
path: root/test/integration/run-tests
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2013-03-18 11:38:19 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2013-03-18 11:38:19 +0100
commitf91bd741d223395cc3b1a609459e7d7226916e86 (patch)
tree51d11956294706a4aacb45ecb9271e4c047a1e7b /test/integration/run-tests
parent8c1dd12cb53ce141d8ade2c8abc619dcfa7f37a1 (diff)
report failures via exit and ensure we don't overflow
Diffstat (limited to 'test/integration/run-tests')
-rwxr-xr-xtest/integration/run-tests3
1 files changed, 2 insertions, 1 deletions
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))