Results for toysh.test.sh

statusoshosh_.pyosh_.cc
pass 663
ok 111
FAIL 114
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 pass FAIL char class / extglob
details
4pass pass pass patsub of $* - http://landley.net/notes.html#23-04-2020
5pass pass pass Brace Expansion (known difference)
6pass pass FAIL {abc}<<< - http://landley.net/notes-2019.html#09-12-2019
details
7pass pass FAIL slice of @ and @ - http://landley.net/notes.html#23-04-2020
details
15 passed, 3 OK, 0 not implemented, 0 BUG, 6 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:
dumb_alloc:
	gNumNew = 2361
	gNumDelete = 219
	gMemPos = 78288

	gNumMalloc = 210
	gNumFree = 0
	gMemPos2 = 12016
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 '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_.cc1 extglob 1 - OSH only supports extglob for fnmatch()?

[osh_.cc 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

dumb_alloc:
	gNumNew = 2609
	gNumDelete = 296
	gMemPos = 84800

	gNumMalloc = 326
	gNumFree = 0
	gMemPos2 = 13792
osh_.cc3 char class / extglob

[osh_.cc stdout] Expected '[hello]\nb\n+\n[+(])\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
rm: cannot remove '_tmp': Is a directory
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc6 {abc}<<< - http://landley.net/notes-2019.html#09-12-2019

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

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
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 '=ef=\n=gh=\n=ij=\n=kl=\n=mn=\n=ef gh ij kl mn=\n=ef=\n=gh=\n=ij=\n=kl=\n=mn=\n=ef gh ij kl mn=\n'

stdout:
=ef=
=gh=
=ij=
=kl=
=mn=
=ef gh ij kl mn=
=ef=
=gh=
=ij=
=kl=
=mn=
=ef gh ij kl mn=
stderr:
osh: PID -1 stopped, but osh didn't start it

dumb_alloc:
	gNumNew = 3718
	gNumDelete = 449
	gMemPos = 118992

	gNumMalloc = 693
	gNumFree = 0
	gMemPos2 = 19680

dumb_alloc:
	gNumNew = 3714
	gNumDelete = 448
	gMemPos = 118864

	gNumMalloc = 691
	gNumFree = 0
	gMemPos2 = 19648