spec test index / oilshell.org
status | bash | mksh | osh | |
pass | 8 | 1 | 4 | |
ok | 0 | 2 | 1 | |
N-I | 0 | 3 | 0 | |
BUG | 0 | 2 | 0 | |
FAIL | 0 | 0 | 3 | |
total | 8 | 8 | 8 | |
case | bash | mksh | osh | description |
0 | pass | N-I | ok | @Q |
details | details | |||
1 | pass | ok | FAIL | extglob $IFS 1 |
details | details | |||
2 | pass | pass | FAIL | extglob $IFS 2 |
details | ||||
3 | pass | BUG | FAIL | char class / extglob |
details | details | |||
4 | pass | BUG | pass | patsub of $* - http://landley.net/notes.html#23-04-2020 |
details | ||||
5 | pass | ok | pass | Brace Expansion |
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 |
13 passed, 3 OK, 3 not implemented, 2 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
mksh | 0 @Q stdout: stderr: |
osh | 0 @Q stdout: a b c d a b c dstderr: |
mksh | 1 extglob $IFS 1 stdout: abc)d ab+( ?d) _tmp abc)dstderr: rm: cannot remove '_tmp': Is a directory mksh: <stdin>[2]: shopt: not found |
osh | 1 extglob $IFS 1 [osh stdout] Expected 'abc)d\nab+( ?d)\n_tmp abc)d\n', got 'abc)d\nabc)d\n_tmp abc)d\n' stdout: abc)d abc)d _tmp abc)dstderr: rm: cannot remove '_tmp': Is a directory |
osh | 2 extglob $IFS 2 [osh stdout] Expected '=+(c=\n=d)=\n', got '=+(c d)=\n' stdout: =+(c d)=stderr: |
mksh | 3 char class / extglob stdout: [hello] b [+()] [+(])stderr: mksh: <stdin>[1]: shopt: not found rm: cannot remove '_tmp': Is a directory |
osh | 3 char class / extglob [osh stdout] Expected '[hello]\nb\n+\n[+(])\n', got '[hello]\nb\n[+()]\n[+(])\n' stdout: [hello] b [+()] [+(])stderr: 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 |
mksh | 5 Brace Expansion stdout: ~/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>[3]: ${@: 3:5}: bad substitution mksh: <stdin>[5]: ${*: 3:5}: bad substitution |