Results for ysh-builtin-meta.test.sh

statusoshosh-cpp
pass 55
FAIL 44
total99
caseoshosh-cppdescription
0FAIL FAIL runproc
detailsdetails
1FAIL FAIL runproc typed args
detailsdetails
2pass pass pp asdl
3pass pass pp asdl can handle an object cycle
4pass pass pp line supports BashArray, BashAssoc
5FAIL FAIL pp gc-stats
detailsdetails
6pass pass pp cell
7pass pass pp cell on indexed array with hole
8FAIL FAIL pp proc
detailsdetails
10 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
osh-cpp0 runproc

[osh-cpp 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'
osh-cpp1 runproc typed args

[osh-cpp 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-cpp 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:
osh-cpp5 pp gc-stats

[osh-cpp 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:
osh-cpp8 pp proc

[osh-cpp 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: