spec test index / oilshell.org
status | bash | mksh | osh | osh_ALT | |
pass | 7 | 2 | 4 | 4 | |
ok | 1 | 1 | 1 | 1 | |
N-I | 0 | 3 | 0 | 0 | |
BUG | 0 | 2 | 0 | 0 | |
FAIL | 0 | 0 | 3 | 3 | |
total | 8 | 8 | 8 | 8 | |
case | bash | mksh | osh | osh_ALT | description |
0 | pass | N-I | ok | ok | @Q |
details | details | details | |||
1 | pass | ok | FAIL | FAIL | extglob $IFS 1 |
details | details | details | |||
2 | pass | pass | FAIL | FAIL | extglob $IFS 2 |
details | details | ||||
3 | pass | BUG | FAIL | FAIL | char class / extglob |
details | details | details | |||
4 | pass | BUG | pass | pass | patsub of $* - http://landley.net/notes.html#23-04-2020 |
details | |||||
5 | ok | pass | pass | pass | Brace Expansion (known difference) |
details | |||||
6 | pass | N-I | pass | pass | {abc}<<< - http://landley.net/notes-2019.html#09-12-2019 |
details | |||||
7 | pass | N-I | pass | pass | slice of @ and @ - http://landley.net/notes.html#23-04-2020 |
details |
17 passed, 4 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: |
osh_ALT | 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_ALT | 1 extglob $IFS 1 [osh_ALT 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: |
osh_ALT | 2 extglob $IFS 2 [osh_ALT 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 |
osh_ALT | 3 char class / extglob [osh_ALT 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 |
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>[3]: ${@: 3:5}: bad substitution mksh: <stdin>[5]: ${*: 3:5}: bad substitution |