Results for ysh-builtin-meta.test.sh

statusosh
pass 5
FAIL 4
total9
caseoshdescription
0FAIL runproc
details
1FAIL runproc typed args
details
2pass pp asdl
3pass pp asdl can handle an object cycle
4pass pp line supports BashArray, BashAssoc
5FAIL pp gc-stats
details
6pass pp cell
7pass pp cell on indexed array with hole
8FAIL pp proc
details
5 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
4 failed under osh

Details on runs that didn't PASS

osh0 runproc

[osh stdout] Expected 'f\n1\n2\nstatus=0\np\n3\n4\nstatus=0\nstatus=1\nstatus=2\n' Got 'f\n1\n2\nstatus=0\nstatus=1\nstatus=1\nstatus=2\n'

stdout:
f
1
2
status=0
status=1
status=1
status=2
stderr:
[ stdin ]:12: runproc: no proc named 'p'
[ stdin ]:15: runproc: no proc named 'invalid'
  runproc
  ^~~~~~~
[ stdin ]:18: 'runproc' requires arguments
osh1 runproc typed args

[osh stdout] Expected 'hi from p\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nBlock\n' Got '\nty\n(Str) "a"\n(Int) 42\n(Int) 99\nCommand\n\n\n'
[osh status] Expected 0, got 1

stdout:
ty
(Str)   "a"
(Int)   42
(Int)   99
Command


stderr:
[ stdin ]:7: runproc: no proc named 'p'
[ stdin ]:23: runproc: no proc named 'ty'
[ stdin ]:26: runproc: no proc named 'ty'
osh5 pp gc-stats

[osh stdout] Expected '', got 'TODO\n'

stdout:
TODO
stderr:
osh8 pp proc

[osh stdout] Expected 'proc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\ng\t""\nmyproc\t"YSH-style proc"\n"true"\t"Special quoting rule"\n---\nproc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\n' Got 'proc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\ng\t""\n---\nproc_name\tdoc_comment\nf\t"doc \' comment with \\" quotes"\n'

stdout:
proc_name	doc_comment
f	"doc ' comment with \" quotes"
g	""
---
proc_name	doc_comment
f	"doc ' comment with \" quotes"
stderr: