status | bash | mksh | ksh | toysh | sush | brush | osh | |
pass | 8 | 1 | 3 | 3 | 6 | 5 | 4 | |
ok | 0 | 2 | 0 | 0 | 0 | 0 | 1 | |
N-I | 0 | 3 | 0 | 0 | 0 | 0 | 0 | |
BUG | 0 | 2 | 0 | 0 | 0 | 0 | 0 | |
FAIL | 0 | 0 | 5 | 5 | 2 | 3 | 3 | |
total | 8 | 8 | 8 | 8 | 8 | 8 | 8 | |
case | bash | mksh | ksh | toysh | sush | brush | osh | description |
0 | pass | N-I | FAIL | FAIL | FAIL | pass | ok | @Q |
details | details | details | details | details | ||||
1 | pass | ok | pass | FAIL | pass | FAIL | FAIL | extglob $IFS 1 |
details | details | details | details | |||||
2 | pass | pass | pass | pass | pass | pass | FAIL | extglob $IFS 2 |
details | ||||||||
3 | pass | BUG | pass | FAIL | pass | pass | FAIL | char class / extglob |
details | details | details | ||||||
4 | pass | BUG | FAIL | pass | pass | pass | pass | patsub of $* - http://landley.net/notes.html#23-04-2020 |
details | details | |||||||
5 | pass | ok | FAIL | FAIL | pass | FAIL | pass | Brace Expansion |
details | details | details | details | |||||
6 | pass | N-I | FAIL | pass | FAIL | FAIL | pass | {abc}<<< - http://landley.net/notes-2019.html#09-12-2019 |
details | details | details | details | |||||
7 | pass | N-I | FAIL | FAIL | pass | pass | pass | slice of @ and @ - http://landley.net/notes.html#23-04-2020 |
details | details | details |
30 passed, 3 OK, 3 not implemented, 2 BUG, 18 failed, 0 timeouts, 0 cases skipped 3 failed under osh
mksh | 0 @Q stdout: stderr: |
ksh | 0 @Q [ksh stdout] Expected "'a' 'b' 'c' 'd'\n'a' 'b' 'c' 'd'\n", got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[3]: ${*@Q}: bad substitution E: ksh: <stdin>[4]: ${@@Q}: bad substitution |
toysh | 0 @Q [toysh stdout] Expected "'a' 'b' 'c' 'd'\n'a' 'b' 'c' 'd'\n", got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 1: sh: syntax error: ( |
sush | 0 @Q [sush stdout] Expected "'a' 'b' 'c' 'd'\n'a' 'b' 'c' 'd'\n", got '' [sush status] Expected 0, got 1 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 |
toysh | 1 extglob $IFS 1 [toysh stdout] Expected 'abc)d\nab+( ?d)\n_tmp abc)d\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 sh: shopt: No such file or directory |
brush | 1 extglob $IFS 1 [brush stdout] Expected 'abc)d\nab+( ?d)\n_tmp abc)d\n', got 'abc)d\n' stdout: abc)dstderr: rm: cannot remove '_tmp': Is a directory e: command not found e: command 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 |
toysh | 3 char class / extglob [toysh stdout] Expected '[hello]\nb\n+\n[+(])\n', got '[hello]\n[abc]\n[+()]\n[+(])\n' stdout: [hello] [abc] [+()] [+(])stderr: sh: shopt: No such file or directory 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 |
ksh | 4 patsub of $* - http://landley.net/notes.html#23-04-2020 [ksh stdout] Expected 'a b c d\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: ${*/b c/ghi}: bad substitution |
mksh | 5 Brace Expansion stdout: ~/pwd ~root/pwd {~,~root}/pwd ~/pwd ~root/pwdstderr: |
ksh | 5 Brace Expansion [ksh stdout] Expected '/home/foo/pwd /root/pwd\n{~,~root}/pwd\n~/pwd ~root/pwd\n' Got '~/pwd ~root/pwd\n{~,~root}/pwd\n~/pwd ~root/pwd\n' stdout: ~/pwd ~root/pwd {~,~root}/pwd ~/pwd ~root/pwdstderr: |
toysh | 5 Brace Expansion [toysh stdout] Expected '/home/foo/pwd /root/pwd\n{~,~root}/pwd\n~/pwd ~root/pwd\n' Got '/home/foo/pwd /root/pwd\n~/pwd ~root/pwd\n~/pwd ~root/pwd\n' stdout: /home/foo/pwd /root/pwd ~/pwd ~root/pwd ~/pwd ~root/pwdstderr: |
brush | 5 Brace Expansion [brush stdout] Expected '/home/foo/pwd /root/pwd\n{~,~root}/pwd\n~/pwd ~root/pwd\n' Got '/home/foo/pwd ~root/pwd\n{~,~root}/pwd\n~/pwd ~root/pwd\n' 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 |
ksh | 6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019 [ksh stdout] Expected '\nwalrus\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected '{abc}' |
sush | 6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019 [sush stdout] Expected '\nwalrus\n', got '' [sush status] Expected 0, got 1 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: Unexpected token: {abc}<<< /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: $abc: ambiguous redirect |
brush | 6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019 [brush stdout] Expected '\nwalrus\n', got '' [brush status] Expected 0, got 1 stdout: stderr: [31mERROR[0m main: syntax error near token `{abc}' (line 1 col 11) error: invalid redirection |
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 |
ksh | 7 slice of @ and @ - http://landley.net/notes.html#23-04-2020 [ksh stdout] Expected '=ef=\n=gh=\n=ij=\n=kl=\n=mn=\n=ef gh ij kl mn=\n' Got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: b: inaccessible or not found E: ksh: <stdin>[3]: ${@: 3:5}: bad substitution E: ksh: <stdin>[5]: ${*: 3:5}: bad substitution |
toysh | 7 slice of @ and @ - http://landley.net/notes.html#23-04-2020 [toysh stdout] Expected '=ef=\n=gh=\n=ij=\n=kl=\n=mn=\n=ef gh ij kl mn=\n' Got '' [toysh status] Expected 0, got 1 stdout: stderr: sh: b: No such file or directory main: line 3: sh: }": 3:5}" main: line 5: sh: }": 3:5}" |