freebsd-skq/bin/sh/tests
jilles f504ca457f sh: Don't create bad parse result when postponing a bad substitution error.
An invalid substitution like ${var@} does not cause a parse error but is
stored in the intermediate representation, to be written as part of the
error message. If there is a CTL* byte in the stored part, this confuses
some code such as the code to skip an unused alternative such as in
${var-alternative}.

To keep things simple, do not store CTL* bytes.

Found with afl-fuzz.

MFC after:	1 week
2015-08-23 20:44:53 +00:00
..
builtins sh: Backslash-newline should not affect field splitting in read builtin. 2015-08-16 12:57:17 +00:00
errors sh: Don't create bad parse result when postponing a bad substitution error. 2015-08-23 20:44:53 +00:00
execution sh: Make sure output suitable as shell input is also printable. 2014-12-14 16:26:19 +00:00
expansion sh: Add more tests for exotic IFS splitting. 2015-03-31 20:59:37 +00:00
parameters Treat IFS separators in "$*" as quoted. 2014-10-28 22:14:31 +00:00
parser sh: Avoid negative character values from $'\Uffffffff' etc. 2015-08-20 22:05:55 +00:00
set-e Convert bin/sh/tests to ATF 2014-08-13 04:14:50 +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 Convert bin/sh/tests to ATF 2014-08-13 04:14:50 +00:00