Results for toysh.test.sh

statusbashdashashzshmkshkshtoyshsushbrushosh
pass 8011133654
ok 0000200001
N-I 0101300000
BUG 0000200000
FAIL 0776055233
total8888888888
casebashdashashzshmkshkshtoyshsushbrushoshdescription
0pass N-I FAIL N-I N-I FAIL FAIL FAIL pass ok @Q
detailsdetailsdetailsdetailsdetailsdetailsdetailsdetails
1pass FAIL FAIL FAIL ok pass FAIL pass FAIL FAIL extglob $IFS 1
detailsdetailsdetailsdetailsdetailsdetailsdetails
2pass FAIL FAIL FAIL pass pass pass pass pass FAIL extglob $IFS 2
detailsdetailsdetailsdetails
3pass FAIL FAIL FAIL BUG pass FAIL pass pass FAIL char class / extglob
detailsdetailsdetailsdetailsdetailsdetails
4pass FAIL pass pass BUG FAIL pass pass pass pass patsub of $* - http://landley.net/notes.html#23-04-2020
detailsdetailsdetails
5pass FAIL FAIL FAIL ok FAIL FAIL pass FAIL pass Brace Expansion
detailsdetailsdetailsdetailsdetailsdetailsdetails
6pass FAIL FAIL FAIL N-I FAIL pass FAIL FAIL pass {abc}<<< - http://landley.net/notes-2019.html#09-12-2019
detailsdetailsdetailsdetailsdetailsdetailsdetails
7pass FAIL FAIL FAIL N-I FAIL FAIL pass pass pass slice of @ and @ - http://landley.net/notes.html#23-04-2020
detailsdetailsdetailsdetailsdetailsdetails
32 passed, 3 OK, 5 not implemented, 2 BUG, 38 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

dash0 @Q

stdout:
stderr: 
ash0 @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
zsh0 @Q

stdout:
stderr: 
mksh0 @Q

stdout:
stderr: 
ksh0 @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
toysh0 @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: (
sush0 @Q

[sush stdout] Expected "'a' 'b' 'c' 'd'\n'a' 'b' 'c' 'd'\n", got ''
[sush status] Expected 0, got 1

stdout:
stderr: 
osh0 @Q

stdout:
a b c d
a b c d
stderr:
dash1 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
ash1 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 "("
zsh1 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
mksh1 extglob $IFS 1

stdout:
abc)d
ab+(  ?d)
abc)d
stderr:
mksh: <stdin>[1]: shopt: not found
toysh1 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)d
stderr:
sh: shopt: No such file or directory
brush1 extglob $IFS 1

[brush stdout] Expected 'abc)d\nab+( ?d)\nabc)d\n', got 'abc)d\n'

stdout:
abc)d
stderr:
e: command not found
e: command not found
osh1 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)d
stderr:
dash2 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
ash2 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 "("
zsh2 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
osh2 extglob $IFS 2

[osh stdout] Expected '=+(c=\n=d)=\n', got '=+(c d)=\n'

stdout:
=+(c d)=
stderr:
dash3 char class / extglob

[dash stdout] Expected '[hello]\nb\n+\n[+(])\n', got '[hello]\nb\n'
[dash status] Expected 0, got 2

stdout:
[hello]
b
stderr:
dash: 1: shopt: not found
dash: 9: Syntax error: "(" unexpected
ash3 char class / extglob

[ash stdout] Expected '[hello]\nb\n+\n[+(])\n', got '[hello]\nb\n'
[ash status] Expected 0, got 2

stdout:
[hello]
b
stderr:
ash: shopt: not found
ash: syntax error: unexpected "("
zsh3 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]
mksh3 char class / extglob

stdout:
[hello]
b
[+()]
[+(])
stderr:
mksh: <stdin>[1]: shopt: not found
toysh3 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
osh3 char class / extglob

[osh stdout] Expected '[hello]\nb\n+\n[+(])\n', got '[hello]\nb\n[+()]\n[+(])\n'

stdout:
[hello]
b
[+()]
[+(])
stderr:
dash4 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
mksh4 patsub of $* - http://landley.net/notes.html#23-04-2020

stdout:
stderr: 
mksh: <stdin>[1]: ${*/b c/ghi}: bad substitution
ksh4 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
dash5 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}/pwd
stderr:
ash5 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}/pwd
stderr:
zsh5 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/pwd
stderr:
mksh5 Brace Expansion

stdout:
~/pwd ~root/pwd
{~,~root}/pwd
~/pwd ~root/pwd
stderr:
ksh5 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/pwd
stderr:
toysh5 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/pwd
stderr:
brush5 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/pwd
stderr:
dash6 {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
ash6 {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
zsh6 {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
mksh6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019

stdout:
stderr: 
mksh: <stdin>[1]: syntax error: '{abc}' unexpected
ksh6 {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}'
sush6 {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
brush6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019

[brush stdout] Expected '\nwalrus\n', got ''
[brush status] Expected 0, got 1

stdout:
stderr: 
ERROR main: syntax error near token `{abc}' (line 1 col 11)
error: invalid redirection
dash7 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
ash7 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
zsh7 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
mksh7 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
ksh7 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
toysh7 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}"