freebsd-skq/bin/sh/tests
jilles ee6bb75b10 sh: Allow unquoted newlines in word in ${param+word} etc.
POSIX requires accepting unquoted newlines in word in parameter expansions
like ${param+word}, ${param#word}, although the Bourne shell did not support
it, it is not commonly used and might make it harder to find a missing
closing brace.

It was also strange that something like

foo="${bar#
}"

was rejected.

Reported by:	Martijn Dekker via Robert Elz
2018-05-20 17:25:52 +00:00
..
builtins sh: Don't have [ match any [[:class:]] 2018-04-29 17:46:08 +00:00
errors sh: Fix INTOFF leak when a redirection on a compound command fails. 2017-06-04 20:52:55 +00:00
execution sh: Add simple test for 'set -C' (noclobber). 2016-11-02 22:33:37 +00:00
expansion sh: Allow unquoted newlines in word in ${param+word} etc. 2018-05-20 17:25:52 +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