sh/tests: Improve failure messages of expansion/arith15.0

This commit is contained in:
Jilles Tjoelker 2019-03-07 22:51:58 +00:00
parent 9e23ca1c94
commit 56ada93f8a

View File

@ -12,9 +12,9 @@ check() {
XXX=-9223372036854775808
check "XXX" -9223372036854775808
check "XXX - 1" 9223372036854775807
check $(($XXX - 1)) 9223372036854775807
check $(($XXX - 2)) 9223372036854775806
check $((0x8000000000000000 == 0x7fffffffffffffff)) \
check "$XXX - 1" 9223372036854775807
check "$XXX - 2" 9223372036854775806
check "0x8000000000000000 == 0x7fffffffffffffff" \
0
exit $((failures != 0))