135 passed, 13 ok, 3 known unimplemented, 6 known bugs, 3 failed, 0 skipped
bash | 0 $- with -c stdout: huBcstderr: |
mksh | 0 $- with -c stdout: uhcstderr: |
dash | 1 $- with pipefail stdout: stderr: /bin/dash: 1: set: Illegal option -o pipefail |
bash | 1 $- with pipefail stdout: huBstderr: |
mksh | 1 $- with pipefail stdout: ushstderr: |
dash | 10 can continue after unknown option stdout: stderr: /bin/dash: 2: set: Illegal option -o STRICT |
mksh | 10 can continue after unknown option stdout: stderr: /bin/mksh: <stdin>[2]: set: STRICT: bad option |
dash | 12 nounset stdout: []stderr: /bin/dash: 3: unset: parameter not set |
dash | 13 -u is nounset stdout: []stderr: /bin/dash: 3: unset: parameter not set |
dash | 19 set -eu (flag parsing) stdout: stderr: /bin/dash: 2: unset: parameter not set |
osh | 20 -n for no execution (useful with --ast-output) [osh stdout] Expected u'1\n', got '1\n2\n3\n' stdout: 1 2 3stderr: |
osh | 21 xtrace [osh stderr] Expected '+ echo 2\n', got "+ ['echo', '2']\n" stdout: 1 2stderr: + ['echo', '2'] |
osh | 23 errexit for nonexistent command [osh status] Expected 127, got 1 stdout: stderr: Unexpected error in execvpe('nonexistent__ZZ', ['nonexistent__ZZ'], ...): [Errno 2] No such file or directory Line 0 of '<unknown>' <no position info for token> osh failed: 'SimpleCommand' command exited with status 127 |
dash | 31 errexit with (( )) stdout: stderr: /bin/dash: 3: i++: not found |
bash | 33 errexit with command sub stdout: one twostderr: |
dash | 34 errexit with local stdout: good badstderr: |
bash | 34 errexit with local stdout: good badstderr: |
mksh | 34 errexit with local stdout: good badstderr: |
dash | 35 setting errexit while it's being ignored stdout: 1 2 3 4 5 6stderr: |
bash | 35 setting errexit while it's being ignored stdout: 1 2 3 4 5 6stderr: |
mksh | 35 setting errexit while it's being ignored stdout: 1 2 3 4 5 6stderr: |
dash | 37 setting errexit while it's being ignored in a subshell stdout: 1 2 3 4 5 6stderr: |
bash | 37 setting errexit while it's being ignored in a subshell stdout: 1 2 3 4 5 6stderr: |
mksh | 37 setting errexit while it's being ignored in a subshell stdout: 1 2 3 4 5 6stderr: |
dash | 39 pipefail stdout: 0stderr: /bin/dash: 3: set: Illegal option -o pipefail |