git: Sync /bin/sh regression tests with FreeBSD.

Peter Avalos pavalos at
Sun Feb 20 15:05:03 PST 2011

commit 4bfff613235390e418af6fe340d465e53afba83a
Author: Peter Avalos <pavalos at>
Date:   Sun Feb 20 11:33:23 2011 -1000

    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

Summary of changes:
 tools/regression/bin/sh/builtins/locale1.0    |    3 +-
 tools/regression/bin/sh/builtins/read5.0      |   32 +++++++++++++++++++++++++
 tools/regression/bin/sh/execution/fork1.0     |    7 ++++-
 tools/regression/bin/sh/expansion/cmdsubst3.0 |    5 +++-
 tools/regression/bin/sh/            |    3 +-
 5 files changed, 44 insertions(+), 6 deletions(-)
 create mode 100644 tools/regression/bin/sh/builtins/read5.0

DragonFly BSD source repository

More information about the Commits mailing list