freebsd-dev/bin/sh/tests
Jilles Tjoelker aac5464b61 sh: Restore $((x)) error checking after fix for $((-9223372036854775808))
SVN r342880 was designed to fix $((-9223372036854775808)) and things like
$((0x8000000000000000)) but also broke error detection for values of
variables without dollar sign ($((x))).

For compatibility, overflow in plain literals continues to be ignored and
the value is clamped to the boundary (except 9223372036854775808 which is
changed to -9223372036854775808).

Reviewed by:	se (although he would like error checking to be removed)
MFC after:	2 weeks
X-MFC-with:	r342880
Differential Revision:	https://reviews.freebsd.org/D18926
2019-02-10 22:23:05 +00:00
..
builtins sh: Don't treat % specially in CDPATH 2018-07-15 21:55:17 +00:00
errors sh: Use 126 and 127 exit status for failures opening a script 2018-11-27 21:49:59 +00:00
execution sh: Add test for exported but unset variables 2019-01-03 20:23:12 +00:00
expansion sh: Restore $((x)) error checking after fix for $((-9223372036854775808)) 2019-02-10 22:23:05 +00:00
invocation DIRDEPS_BUILD: Connect new directories. 2017-10-31 00:04:07 +00:00
parameters sh: Do not import IFS's value from the environment. 2016-10-08 13:40:12 +00:00
parser sh: Test that backslash-newline within single-quotes is not special 2018-05-11 21:56:01 +00:00
set-e Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
functional_test.sh sh: Don't hardcode relative paths in the tests stderr files. 2014-08-17 14:26:12 +00:00
Makefile sh: Add tests for sh -c that already pass. 2017-08-12 19:17:48 +00:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00