Results for toysh.test.sh

statusbashmkshosh
pass 814
ok 021
N-I 030
BUG 020
FAIL 003
total888
casebashmkshoshdescription
0pass N-I ok @Q
detailsdetails
1pass ok FAIL extglob $IFS 1
detailsdetails
2pass pass FAIL extglob $IFS 2
details
3pass BUG FAIL char class / extglob
detailsdetails
4pass BUG pass patsub of $* - http://landley.net/notes.html#23-04-2020
details
5pass ok pass Brace Expansion
details
6pass N-I pass {abc}<<< - http://landley.net/notes-2019.html#09-12-2019
details
7pass N-I pass slice of @ and @ - http://landley.net/notes.html#23-04-2020
details
13 passed, 3 OK, 3 not implemented, 2 BUG, 3 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

mksh0 @Q

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
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
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
mksh5 Brace Expansion

stdout:
~/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
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