| status | bash | dash | mksh | zsh | ash | osh | |
| pass | 9 | 6 | 5 | 6 | 6 | 3 | |
| ok | 0 | 3 | 0 | 0 | 3 | 0 | |
| N-I | 0 | 0 | 1 | 1 | 0 | 0 | |
| BUG | 0 | 0 | 3 | 2 | 0 | 0 | |
| FAIL | 0 | 0 | 0 | 0 | 0 | 6 | |
| total | 9 | 9 | 9 | 9 | 9 | 9 | |
| case | bash | dash | mksh | zsh | ash | osh | description |
| 0 | pass | pass | N-I | N-I | pass | FAIL | xz package: dirprefix="${line##*([}" |
| details | details | details | |||||
| 1 | pass | pass | BUG | pass | pass | FAIL | !( as negation and subshell versus extended glob - #2463 |
| details | details | ||||||
| 2 | pass | pass | pass | pass | pass | FAIL | Changing PATH will invalidate PATH cache |
| details | |||||||
| 3 | pass | pass | pass | pass | pass | FAIL | test builtin - Unexpected trailing word '--' (#2409) |
| details | |||||||
| 4 | pass | ok | BUG | BUG | ok | FAIL | set -u failure in eval doesn't exit the parent process |
| details | details | details | details | details | |||
| 5 | pass | ok | BUG | BUG | ok | FAIL | set -u nested evals |
| details | details | details | details | details | |||
| 6 | pass | ok | pass | pass | ok | pass | set -u no eval |
| details | details | ||||||
| 7 | pass | pass | pass | pass | pass | pass | exit under eval should exit the parent process |
| 8 | pass | pass | pass | pass | pass | pass | builtin cat crashes a subshell (#2530) |
35 passed, 6 OK, 2 not implemented, 5 BUG, 6 failed, 0 timeouts, 0 cases skipped 6 failed under osh
| mksh | 0 xz package: dirprefix="${line##*([}" stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[11]: no closing quote |
| zsh | 0 xz package: dirprefix="${line##*([}" stdout: stderr: zsh: command not found: shopt zsh: bad pattern: *([ |
| osh | 0 xz package: dirprefix="${line##*([}" [osh stdout] Expected '--\n-foo-\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: echo "-$dirprefix-"
^
[ stdin ]:9: Unexpected EOF reading double-quoted string that began here
|
| mksh | 1 !( as negation and subshell versus extended glob - #2463 stdout: twostderr: mksh: <stdin>[6]: !(false && false): not found |
| osh | 1 !( as negation and subshell versus extended glob - #2463 [osh stdout] Expected 'one\ntwo\n' Got 'two\n' stdout: twostderr: if !($have_icu_uc && $have_icu_i18n); then
^~
[ stdin ]:4: Command '!(false && false)' not found (OILS-ERR-100)
|
| osh | 2 Changing PATH will invalidate PATH cache [osh stdout] Expected 'hi\nstatus=0\nhey\nstatus=0\nhi\nstatus=0\nhey\nstatus=0\nhi\nstatus=0\nhey\nstatus=0\n' Got 'hi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\n' stdout: hi status=0 hi status=0 hi status=0 hi status=0 hi status=0 hi status=0stderr: |
| osh | 3 test builtin - Unexpected trailing word '--' (#2409) [osh stdout] Expected 'status=0\nstatus=0\nstatus=0\nstatus=0\nstatus=0\n' Got 'status=2\nstatus=2\nstatus=2\nstatus=2\nstatus=0\n' stdout: status=2 status=2 status=2 status=2 status=0stderr: set -- -o; test $# -ne 0 -a "$1" != "--"
^
[ stdin ]:1: (test) Unexpected trailing word '--'
test $# -ne 0 -a "-o" != "--"
^
[ stdin ]:4: (test) Unexpected trailing word '--'
test $# -ne 0 -a -o != "--"
^
[ stdin ]:7: (test) Unexpected trailing word '--'
set -- -z; test $# -ne 0 -a "$1" != "--"
^
[ stdin ]:10: (test) Unexpected trailing word '--'
|
| dash | 4 set -u failure in eval doesn't exit the parent process stdout: beforestderr: dash: 3: eval: 1: parameter not set |
| mksh | 4 set -u failure in eval doesn't exit the parent process stdout: before afterstderr: mksh: 1: parameter not set |
| zsh | 4 set -u failure in eval doesn't exit the parent process stdout: before afterstderr: test_function:1: 1: parameter not set |
| ash | 4 set -u failure in eval doesn't exit the parent process stdout: beforestderr: ash: eval: line 3: 1: parameter not set |
| osh | 4 set -u failure in eval doesn't exit the parent process [osh stdout] Expected 'before\n' Got 'before\nafter\n' [osh status] Expected 1 Got 0 stdout: before afterstderr: x=$1
^~
[ stdin ]:3: fatal: Undefined variable '1'
|
| dash | 5 set -u nested evals stdout: beforestderr: dash: 3: eval: blarg: parameter not set |
| mksh | 5 set -u nested evals stdout: before afterstderr: mksh: blarg: parameter not set |
| zsh | 5 set -u nested evals stdout: before afterstderr: test_function_2:1: blarg: parameter not set |
| ash | 5 set -u nested evals stdout: beforestderr: ash: eval: line 3: blarg: parameter not set |
| osh | 5 set -u nested evals [osh stdout] Expected 'before\n' Got 'before\nafter\n' [osh status] Expected 1 Got 0 stdout: before afterstderr: x=$blarg
^~~~~~
[ stdin ]:3: fatal: Undefined variable 'blarg'
|
| dash | 6 set -u no eval stdout: beforestderr: dash: 4: blarg: parameter not set |
| ash | 6 set -u no eval stdout: beforestderr: ash: blarg: parameter not set |