Results for toysh.test.sh

statusbashmkshkshtoyshsushbrushosh
pass 8133654
ok 0200001
N-I 0300000
BUG 0200000
FAIL 0055233
total8888888
casebashmkshkshtoyshsushbrushoshdescription
0pass N-I FAIL FAIL FAIL pass ok @Q
detailsdetailsdetailsdetailsdetails
1pass ok pass FAIL pass FAIL FAIL extglob $IFS 1
detailsdetailsdetailsdetails
2pass pass pass pass pass pass FAIL extglob $IFS 2
details
3pass BUG pass FAIL pass pass FAIL char class / extglob
detailsdetailsdetails
4pass BUG FAIL pass pass pass pass patsub of $* - http://landley.net/notes.html#23-04-2020
detailsdetails
5pass ok FAIL FAIL pass FAIL pass Brace Expansion
detailsdetailsdetailsdetails
6pass N-I FAIL pass FAIL FAIL pass {abc}<<< - http://landley.net/notes-2019.html#09-12-2019
detailsdetailsdetailsdetails
7pass N-I FAIL FAIL pass pass pass slice of @ and @ - http://landley.net/notes.html#23-04-2020
detailsdetailsdetails
30 passed, 3 OK, 3 not implemented, 2 BUG, 18 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

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:
mksh1 extglob $IFS 1

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

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

stdout:
abc)d
stderr:
rm: cannot remove '_tmp': Is a directory
e: command not found
e: command not found
osh1 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)d
stderr:
rm: cannot remove '_tmp': Is a directory
osh2 extglob $IFS 2

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

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

stdout:
[hello]
b
[+()]
[+(])
stderr:
mksh: <stdin>[1]: shopt: not found
rm: cannot remove '_tmp': Is a directory
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
rm: cannot remove '_tmp': Is a directory
osh3 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
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
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:
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
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}"