1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344902

View File

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