opnsense-src/tools/regression/bin
Jilles Tjoelker 85307c9ed9 sh: Allow terminating a heredoc with a terminator at EOF without a newline.
This is sometimes used with eval or old-style command substitution, and most
shells other than ash derivatives allow it.

It can also be used with scripts that violate POSIX's requirement on the
application that they end in a newline (scripts must be text files except
that line length is unlimited).

Example:
v=`cat <<EOF
foo
EOF`
echo $v

This commit does not add support for the similar construct with new-style
command substitution, like
v=$(cat <<EOF
foo
EOF)
This continues to require a newline after the terminator.
2011-05-20 16:03:36 +00:00
..
date regression/date: unset all LC_xxx vars and set LANG/LC_ALL 2011-01-09 22:05:09 +00:00
mv Hide expected error output so the 'prove -r' results are easy to read. 2010-01-03 09:31:33 +00:00
pax Add a Makefile for tools/regression/bin and support 'all' in 2010-08-29 12:14:53 +00:00
sh sh: Allow terminating a heredoc with a terminator at EOF without a newline. 2011-05-20 16:03:36 +00:00
test Accept == as an alias of = which is a popular GNU extension. 2011-02-27 12:28:06 +00:00
Makefile test: Move tests to tools/regression/bin/test. 2010-11-08 23:15:10 +00:00