freebsd-skq/bin/sh/tests
jilles 68a5d0c372 sh: Ensure OPTIND=1 in subshell without forking does not affect outer env.
Command substitutions containing a single simple command and here-document
expansion are performed in a subshell environment, but may not fork. Any
modified state of the shell environment should be restored afterward.

The state that OPTIND=1 had been done was not saved and restored here.

Note that the other parts of shellparam need not be saved and restored,
since they are not modified in these situations (a fork is done before such
modifications).
2016-01-07 20:48:24 +00:00
..
builtins sh: Ensure OPTIND=1 in subshell without forking does not affect outer env. 2016-01-07 20:48:24 +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 tests for #/##/%/%% on $* and $@. 2015-12-26 22:27:48 +00:00
parameters sh: Add limited test for ${#@} and ${#*}. 2015-12-06 14:09:31 +00:00
parser sh: Allow empty << EOF markers. 2015-09-02 19:49: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 Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00