status | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | |
pass | 8 | 0 | 1 | 1 | 1 | 3 | 3 | 6 | 5 | 4 | |
ok | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 1 | |
N-I | 0 | 1 | 0 | 1 | 3 | 0 | 0 | 0 | 0 | 0 | |
BUG | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | |
FAIL | 0 | 7 | 7 | 6 | 0 | 5 | 5 | 2 | 3 | 3 | |
total | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | |
case | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | description |
0 | pass | N-I | FAIL | N-I | N-I | FAIL | FAIL | FAIL | pass | ok | @Q |
details | details | details | details | details | details | details | details | ||||
1 | pass | FAIL | FAIL | FAIL | ok | pass | FAIL | pass | FAIL | FAIL | extglob $IFS 1 |
details | details | details | details | details | details | details | |||||
2 | pass | FAIL | FAIL | FAIL | pass | pass | pass | pass | pass | FAIL | extglob $IFS 2 |
details | details | details | details | ||||||||
3 | pass | FAIL | FAIL | FAIL | BUG | pass | FAIL | pass | pass | FAIL | char class / extglob |
details | details | details | details | details | details | ||||||
4 | pass | FAIL | pass | pass | BUG | FAIL | pass | pass | pass | pass | patsub of $* - http://landley.net/notes.html#23-04-2020 |
details | details | details | |||||||||
5 | pass | FAIL | FAIL | FAIL | ok | FAIL | FAIL | pass | FAIL | pass | Brace Expansion |
details | details | details | details | details | details | details | |||||
6 | pass | FAIL | FAIL | FAIL | N-I | FAIL | pass | FAIL | FAIL | pass | {abc}<<< - http://landley.net/notes-2019.html#09-12-2019 |
details | details | details | details | details | details | details | |||||
7 | pass | FAIL | FAIL | FAIL | N-I | FAIL | FAIL | pass | pass | pass | slice of @ and @ - http://landley.net/notes.html#23-04-2020 |
details | details | details | details | details | details |
32 passed, 3 OK, 5 not implemented, 2 BUG, 38 failed, 0 timeouts, 0 cases skipped 3 failed under osh
dash | 0 @Q stdout: stderr: |
ash | 0 @Q [ash stdout] Expected "'a' 'b' 'c' 'd'\n'a' 'b' 'c' 'd'\n", got '' [ash status] Expected 0, got 2 stdout: stderr: ash: syntax error: bad substitution |
zsh | 0 @Q stdout: stderr: |
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: |
dash | 1 extglob $IFS 1 [dash stdout] Expected 'abc)d\nab+( ?d)\nabc)d\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 4: Syntax error: "(" unexpected |
ash | 1 extglob $IFS 1 [ash stdout] Expected 'abc)d\nab+( ?d)\nabc)d\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 1 extglob $IFS 1 [zsh stdout] Expected 'abc)d\nab+( ?d)\nabc)d\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: command not found: shopt zsh: number expected |
mksh | 1 extglob $IFS 1 stdout: abc)d ab+( ?d) abc)dstderr: mksh: <stdin>[1]: shopt: not found |
toysh | 1 extglob $IFS 1 [toysh stdout] Expected 'abc)d\nab+( ?d)\nabc)d\n', got 'ab+(c?d)\nab+( ?d)\nabc)d\n' stdout: ab+(c?d) ab+( ?d) abc)dstderr: sh: shopt: No such file or directory |
brush | 1 extglob $IFS 1 [brush stdout] Expected 'abc)d\nab+( ?d)\nabc)d\n', got 'abc)d\n' stdout: abc)dstderr: e: command not found e: command not found |
osh | 1 extglob $IFS 1 [osh stdout] Expected 'abc)d\nab+( ?d)\nabc)d\n', got 'abc)d\nabc)d\nabc)d\n' stdout: abc)d abc)d abc)dstderr: |
dash | 2 extglob $IFS 2 [dash stdout] Expected '=+(c=\n=d)=\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 2: Syntax error: "(" unexpected |
ash | 2 extglob $IFS 2 [ash stdout] Expected '=+(c=\n=d)=\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 2 extglob $IFS 2 [zsh stdout] Expected '=+(c=\n=d)=\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: command not found: shopt zsh: number expected |
osh | 2 extglob $IFS 2 [osh stdout] Expected '=+(c=\n=d)=\n', got '=+(c d)=\n' stdout: =+(c d)=stderr: |
dash | 3 char class / extglob [dash stdout] Expected '[hello]\nb\n+\n[+(])\n', got '[hello]\nb\n' [dash status] Expected 0, got 2 stdout: [hello] bstderr: dash: 1: shopt: not found dash: 9: Syntax error: "(" unexpected |
ash | 3 char class / extglob [ash stdout] Expected '[hello]\nb\n+\n[+(])\n', got '[hello]\nb\n' [ash status] Expected 0, got 2 stdout: [hello] bstderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 3 char class / extglob [zsh stdout] Expected '[hello]\nb\n+\n[+(])\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: command not found: shopt zsh: bad pattern: [hello] |
mksh | 3 char class / extglob stdout: [hello] b [+()] [+(])stderr: mksh: <stdin>[1]: shopt: not found |
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 |
osh | 3 char class / extglob [osh stdout] Expected '[hello]\nb\n+\n[+(])\n', got '[hello]\nb\n[+()]\n[+(])\n' stdout: [hello] b [+()] [+(])stderr: |
dash | 4 patsub of $* - http://landley.net/notes.html#23-04-2020 [dash stdout] Expected 'a b c d\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: Bad substitution |
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 |
dash | 5 Brace Expansion [dash stdout] Expected '/home/foo/pwd /root/pwd\n{~,~root}/pwd\n~/pwd ~root/pwd\n' Got '{~,~root}/pwd\n{~,~root}/pwd\n{~,~root}/pwd\n' stdout: {~,~root}/pwd {~,~root}/pwd {~,~root}/pwdstderr: |
ash | 5 Brace Expansion [ash stdout] Expected '/home/foo/pwd /root/pwd\n{~,~root}/pwd\n~/pwd ~root/pwd\n' Got '{~,~root}/pwd\n{~,~root}/pwd\n{~,~root}/pwd\n' stdout: {~,~root}/pwd {~,~root}/pwd {~,~root}/pwdstderr: |
zsh | 5 Brace Expansion [zsh 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/home/foo/pwd /root/pwd\n' stdout: /home/foo/pwd /root/pwd {~,~root}/pwd /home/foo/pwd /root/pwdstderr: |
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: |
dash | 6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019 [dash stdout] Expected '\nwalrus\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: Syntax error: word unexpected |
ash | 6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019 [ash stdout] Expected '\nwalrus\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: syntax error: unexpected word |
zsh | 6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019 [zsh stdout] Expected '\nwalrus\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: parse error near `{' zsh: file number expected |
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 |
dash | 7 slice of @ and @ - http://landley.net/notes.html#23-04-2020 [dash stdout] Expected '=ef=\n=gh=\n=ij=\n=kl=\n=mn=\n=ef gh ij kl mn=\n' Got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: eval: b: not found dash: 3: Bad substitution |
ash | 7 slice of @ and @ - http://landley.net/notes.html#23-04-2020 [ash stdout] Expected '=ef=\n=gh=\n=ij=\n=kl=\n=mn=\n=ef gh ij kl mn=\n' Got '=cd=\n=ef=\n=cd ef=\n' stdout: =cd= =ef= =cd ef=stderr: ash: eval: line 1: b: not found |
zsh | 7 slice of @ and @ - http://landley.net/notes.html#23-04-2020 [zsh stdout] Expected '=ef=\n=gh=\n=ij=\n=kl=\n=mn=\n=ef gh ij kl mn=\n' Got '' [zsh status] Expected 0, got 1 stdout: stderr: chicken: ef= not found |
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}" |