Sync /bin/sh regression tests with FreeBSD.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 20 Feb 2011 21:33:23 +0000 (11:33 -1000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 20 Feb 2011 21:33:23 +0000 (11:33 -1000)
commit4bfff613235390e418af6fe340d465e53afba83a
tree37d38bab09336e6229ec942c1e71ccdee77e593e
parent149d357d269564d464e83bcbbc91a739811760a5
Sync /bin/sh regression tests with FreeBSD.

-Add some tests for omitting whitespace.
-Split off some special behaviour into separate tests.
-Do not use "local" in the test runner.
-Make execution/fork1.0 work even if the basename of ${SH} is not "sh".
-Test that the read builtin passes through all byte values except NUL,
newline and backslash.
-Unset some locale vars in two tests that may cause them to break.

Obtained-from: FreeBSD
tools/regression/bin/sh/builtins/locale1.0
tools/regression/bin/sh/builtins/read5.0 [new file with mode: 0644]
tools/regression/bin/sh/execution/fork1.0
tools/regression/bin/sh/expansion/cmdsubst3.0
tools/regression/bin/sh/regress.sh