Results for ysh-builtin-pp.test.sh

statusoshosh-cpp
pass 30
FAIL 03
total33
caseoshosh-cppdescription
0pass FAIL pp cell
details
1pass FAIL pp cell on indexed array with hole
details
2pass FAIL pp proc
details
3 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh-cpp0 pp cell

[osh-cpp stdout] Expected 'x = (Cell exported:F readonly:F nameref:F val:(value.Str s:42))\nstatus=0\nx = (Cell exported:F readonly:F nameref:F val:(value.Str s:42))\nstatus=0\nstatus=1\n' Got 'x = \nstatus=0\nx = \nstatus=0\nstatus=1\n'

stdout:
x = 
status=0
x = 
status=0
status=1
stderr:
  pp cell nonexistent
          ^~~~~~~~~~~
[ stdin ]:9: Couldn't find a variable named 'nonexistent'
osh-cpp1 pp cell on indexed array with hole

[osh-cpp stdout] Expected 'array = (Cell exported:F readonly:F nameref:F val:(value.MaybeStrArray strs:[_ _ _ 42]))\n' Got 'array = \n'

stdout:
array = 
stderr:
osh-cpp2 pp proc

[osh-cpp stdout] Expected 'proc_name\tdoc_comment\nf\t\'doc \\\' comment with " quotes\'\ng\t\'\'\nmyproc\t\'Oil-style proc\'\n---\nproc_name\tdoc_comment\nf\t\'doc \\\' comment with " quotes\'\n' Got "proc_name\tdoc_comment\nf\t''\ng\t''\nmyproc\t''\n---\nproc_name\tdoc_comment\nf\t''\n"

stdout:
proc_name	doc_comment
f	''
g	''
myproc	''
---
proc_name	doc_comment
f	''
stderr: