spec test index / oilshell.org
status | bash | mksh | osh | |
pass | 7 | 2 | 6 | |
ok | 1 | 1 | 1 | |
N-I | 0 | 3 | 0 | |
BUG | 0 | 2 | 0 | |
FAIL | 0 | 0 | 1 | |
total | 8 | 8 | 8 | |
case | bash | mksh | osh | description |
0 | pass | N-I | ok | @Q |
details | details | |||
1 | pass | ok | FAIL | extglob 1 - OSH only supports extglob for fnmatch()? |
details | details | |||
2 | pass | pass | pass | extglob 2 |
3 | pass | BUG | pass | char class / extglob |
details | ||||
4 | pass | BUG | pass | patsub of $* - http://landley.net/notes.html#23-04-2020 |
details | ||||
5 | ok | pass | pass | Brace Expansion (known difference) |
details | ||||
6 | pass | N-I | pass | {abc}<<< - http://landley.net/notes-2019.html#09-12-2019 |
details | ||||
7 | pass | N-I | pass | slice of @ and @ - http://landley.net/notes.html#23-04-2020 |
details |
15 passed, 3 OK, 3 not implemented, 2 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
mksh | 0 @Q stdout: stderr: |
osh | 0 @Q stdout: a b c d a b c dstderr: |
mksh | 1 extglob 1 - OSH only supports extglob for fnmatch()? stdout: abc)d ab+( ?d) _tmp abc)dstderr: rm: cannot remove '_tmp': Is a directory mksh: <stdin>[2]: shopt: not found |
osh | 1 extglob 1 - OSH only supports extglob for fnmatch()? [osh stdout] Expected 'abc)d\nab+( ?d)\nabc)d _tmp\n', got 'ab+(c?d)\nab+( ?d)\n_tmp abc)d\n' stdout: ab+(c?d) ab+( ?d) _tmp abc)dstderr: rm: cannot remove '_tmp': Is a directory |
mksh | 3 char class / extglob stdout: [hello] b [+()] [+(])stderr: mksh: <stdin>[1]: shopt: not found rm: cannot remove '_tmp': Is a directory |
mksh | 4 patsub of $* - http://landley.net/notes.html#23-04-2020 stdout: stderr: mksh: <stdin>[1]: ${*/b c/ghi}: bad substitution |
bash | 5 Brace Expansion (known difference) stdout: /home/foo/pwd /root/pwd {~,~root}/pwd ~/pwd ~root/pwdstderr: |
mksh | 6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019 stdout: stderr: mksh: <stdin>[1]: syntax error: '{abc}' unexpected |
mksh | 7 slice of @ and @ - http://landley.net/notes.html#23-04-2020 stdout: stderr: mksh: b: not found mksh: <stdin>[2]: ${@: 3:5}: bad substitution mksh: <stdin>[3]: ${*: 3:5}: bad substitution |