I pulled these test cases out of the git log. I could do more but wanted to see if this work is welcome first. I also created a pull request at https://github.com/herbertx/dash/pull/7, just in case that's easier. Buck Evan (1): add tests .gitignore | 3 ++ test | 33 ++++++++++++++++ .../async-subshell-unignore-signal/result.txt | 4 ++ tests/async-subshell-unignore-signal/test.sh | 38 +++++++++++++++++++ tests/backslash-outside-quotes/result.txt | 1 + tests/backslash-outside-quotes/test.sh | 4 ++ tests/dollar-dash-expansion/result.txt | 3 ++ tests/dollar-dash-expansion/test.sh | 7 ++++ tests/echo-backslash-c-spillage/result.txt | 2 + tests/echo-backslash-c-spillage/test.sh | 4 ++ tests/eval-empty/result.txt | 1 + tests/eval-empty/test.sh | 7 ++++ tests/expmeta-nonleading-slash/result.txt | 1 + tests/expmeta-nonleading-slash/test.sh | 2 + tests/expmeta-slash-treatment/result.txt | 1 + tests/expmeta-slash-treatment/test.sh | 2 + tests/ifs-after-heredoc/result.txt | 2 + tests/ifs-after-heredoc/test.sh | 7 ++++ tests/naked-backslash-leakage/result.txt | 1 + tests/naked-backslash-leakage/test.sh | 5 +++ tests/no-space/result.txt | 2 + tests/no-space/test.sh | 2 + 22 files changed, 132 insertions(+) create mode 100755 test create mode 100644 tests/async-subshell-unignore-signal/result.txt create mode 100755 tests/async-subshell-unignore-signal/test.sh create mode 100644 tests/backslash-outside-quotes/result.txt create mode 100755 tests/backslash-outside-quotes/test.sh create mode 100644 tests/dollar-dash-expansion/result.txt create mode 100755 tests/dollar-dash-expansion/test.sh create mode 100644 tests/echo-backslash-c-spillage/result.txt create mode 100755 tests/echo-backslash-c-spillage/test.sh create mode 100644 tests/eval-empty/result.txt create mode 100755 tests/eval-empty/test.sh create mode 100644 tests/expmeta-nonleading-slash/result.txt create mode 100755 tests/expmeta-nonleading-slash/test.sh create mode 100644 tests/expmeta-slash-treatment/result.txt create mode 100755 tests/expmeta-slash-treatment/test.sh create mode 100644 tests/ifs-after-heredoc/result.txt create mode 100755 tests/ifs-after-heredoc/test.sh create mode 100644 tests/naked-backslash-leakage/result.txt create mode 100755 tests/naked-backslash-leakage/test.sh create mode 100644 tests/no-space/result.txt create mode 100755 tests/no-space/test.sh -- 2.42.0