Results for toysh.test.sh

statusoshosh_.pyosh_.cc
pass 633
ok 111
FAIL 144
total888
caseoshosh_.pyosh_.ccdescription
0ok ok ok @Q
detailsdetailsdetails
1FAIL FAIL FAIL extglob 1 - OSH only supports extglob for fnmatch()?
detailsdetailsdetails
2pass pass pass extglob 2
3pass FAIL FAIL char class / extglob
detailsdetails
4pass pass pass patsub of $* - http://landley.net/notes.html#23-04-2020
5pass pass pass Brace Expansion (known difference)
6pass FAIL FAIL {abc}<<< - http://landley.net/notes-2019.html#09-12-2019
detailsdetails
7pass FAIL FAIL slice of @ and @ - http://landley.net/notes.html#23-04-2020
detailsdetails
12 passed, 3 OK, 0 not implemented, 0 BUG, 9 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh0 @Q

stdout:
a b c d
a b c d
stderr:
osh_.py0 @Q

stdout:
a b c d
a b c d
stderr:
osh_.cc0 @Q

stdout:
a b c d
a b c d
stderr:
osh1 extglob 1 - OSH only supports extglob for fnmatch()?

[osh stdout] Expected 'abc)d\nab+( ?d)\nabc)d _tmp\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
osh_.py1 extglob 1 - OSH only supports extglob for fnmatch()?

[osh_.py stdout] Expected 'abc)d\nab+( ?d)\nabc)d _tmp\n', got "(cmd_value.Argv argv:[rm _tmp 'abc)d'] arg_spids:[0 2 2])\n(cmd_value.Argv argv:[touch 'abc)d'] arg_spids:[13 15])\nab+(c?d)\nab+( ?d)\n_tmp abc)d\n"

stdout:
(cmd_value.Argv argv:[rm _tmp 'abc)d'] arg_spids:[0 2 2])
(cmd_value.Argv argv:[touch 'abc)d'] arg_spids:[13 15])
ab+(c?d)
ab+( ?d)
_tmp abc)d
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc1 extglob 1 - OSH only supports extglob for fnmatch()?

[osh_.cc stdout] Expected 'abc)d\nab+( ?d)\nabc)d _tmp\n', got "(cmd_value.Argv argv:[rm _tmp 'abc)d'] arg_spids:[0 2 2])\n(cmd_value.Argv argv:[touch 'abc)d'] arg_spids:[13 15])\nab+(c?d)\nab+( ?d)\n_tmp abc)d\n"

stdout:
(cmd_value.Argv argv:[rm _tmp 'abc)d'] arg_spids:[0 2 2])
(cmd_value.Argv argv:[touch 'abc)d'] arg_spids:[13 15])
ab+(c?d)
ab+( ?d)
_tmp abc)d
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py3 char class / extglob

[osh_.py stdout] Expected '[hello]\nb\n+\n[+(])\n', got "(cmd_value.Argv argv:[rm '+' _tmp b l] arg_spids:[6 8 8 8 8])\n(cmd_value.Argv argv:[touch l] arg_spids:[10 12])\n[hello]\n(cmd_value.Argv argv:[touch b] arg_spids:[23 25])\n[]\n(cmd_value.Argv argv:[touch '+'] arg_spids:[37 39])\n+\n[+(])\n"

stdout:
(cmd_value.Argv argv:[rm '+' _tmp b l] arg_spids:[6 8 8 8 8])
(cmd_value.Argv argv:[touch l] arg_spids:[10 12])
[hello]
(cmd_value.Argv argv:[touch b] arg_spids:[23 25])
[]
(cmd_value.Argv argv:[touch '+'] arg_spids:[37 39])
+
[+(])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.cc3 char class / extglob

[osh_.cc stdout] Expected '[hello]\nb\n+\n[+(])\n', got "(cmd_value.Argv argv:[rm '+' _tmp b l] arg_spids:[6 8 8 8 8])\n(cmd_value.Argv argv:[touch l] arg_spids:[10 12])\n[hello]\n(cmd_value.Argv argv:[touch b] arg_spids:[23 25])\n[]\n(cmd_value.Argv argv:[touch '+'] arg_spids:[37 39])\n+\n[+(])\n"

stdout:
(cmd_value.Argv argv:[rm '+' _tmp b l] arg_spids:[6 8 8 8 8])
(cmd_value.Argv argv:[touch l] arg_spids:[10 12])
[hello]
(cmd_value.Argv argv:[touch b] arg_spids:[23 25])
[]
(cmd_value.Argv argv:[touch '+'] arg_spids:[37 39])
+
[+(])
stderr:
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
Unhandled SimpleCommand
osh_.py6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019

[osh_.py stdout] Expected '\nwalrus\n', got '\n'
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
  cat <&$abc
        ^~~~
[ stdin ]:2: Redirect descriptor can't be empty
osh_.cc6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019

[osh_.cc stdout] Expected '\nwalrus\n', got '\n'
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
  cat <&$abc
        ^~~~
[ stdin ]:2: Invalid descriptor ''.  Expected D, -, or D- where D is an integer
osh_.py7 slice of @ and @ - http://landley.net/notes.html#23-04-2020

[osh_.py stdout] Expected '=ef=\n=gh=\n=ij=\n=kl=\n=mn=\n=ef gh ij kl mn=\n', got '(cmd_value.Argv argv:[b] arg_spids:[20])\n=ef=\n=gh=\n=ij=\n=kl=\n=mn=\n=ef gh ij kl mn=\n'

stdout:
(cmd_value.Argv argv:[b] arg_spids:[20])
=ef=
=gh=
=ij=
=kl=
=mn=
=ef gh ij kl mn=
stderr:
Unhandled SimpleCommand
osh_.cc7 slice of @ and @ - http://landley.net/notes.html#23-04-2020

[osh_.cc stdout] Expected '=ef=\n=gh=\n=ij=\n=kl=\n=mn=\n=ef gh ij kl mn=\n', got '(cmd_value.Argv argv:[b] arg_spids:[20])\n=ab=\n=cd=\n=ef=\n=gh=\n=ij=\n=kl=\n=mn=\n=op=\n=qr=\n=ab cd ef gh ij kl mn op qr=\n'

stdout:
(cmd_value.Argv argv:[b] arg_spids:[20])
=ab=
=cd=
=ef=
=gh=
=ij=
=kl=
=mn=
=op=
=qr=
=ab cd ef gh ij kl mn op qr=
stderr:
Unhandled SimpleCommand