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
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
functional_test.sh
Makefile Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00