opnsense-src/tools/regression/bin/sh
Jilles Tjoelker 2935c4cc5e sh: Make return return from the closest function or dot script.
Formerly, return always returned from a function if it was called from a
function, even if there was a closer dot script. This was for compatibility
with the Bourne shell which only allowed returning from functions.

Other modern shells and POSIX return from the function or the dot script,
whichever is closest.

Git 1.8.4's rebase --continue depends on the POSIX behaviour.

Reported by:	Christoph Mallon, avg
2013-09-04 22:10:16 +00:00
..
builtins sh: Make return return from the closest function or dot script. 2013-09-04 22:10:16 +00:00
errors sh: Detect and flag write errors on stdout in builtins. 2012-12-12 22:01:10 +00:00
execution sh: Do not read from stdin if an error occurs during -i -c cmd. 2013-07-12 15:29:41 +00:00
expansion sh: Reject ++ and -- in arithmetic. 2013-08-24 20:06:00 +00:00
parameters sh: Add some testcases for pasting $*/$@ directly to a literal. 2011-12-25 13:24:48 +00:00
parser sh: Disallow empty simple commands. 2013-08-25 10:57:48 +00:00
set-e sh: Get rid of unnecessary non-standard empty lists. 2010-08-16 17:18:08 +00:00
Makefile Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
regress.sh sh: Do not use "local" in the test runner as POSIX and ksh93 do not have it. 2011-02-19 13:23:13 +00:00
regress.t sh: Allow running 'prove' from tools/regression/bin/sh again 2010-10-15 20:01:35 +00:00