Results for ysh-proc-meta.test.sh

statusyshysh-cpp
pass 77
FAIL 22
total99
caseyshysh-cppdescription
0FAIL FAIL myproc.docString()
detailsdetails
1FAIL FAIL Mutate __sh_function__
detailsdetails
2pass pass with eval builtin command, in global scope
3pass pass with eval builtin command, in local scope
4pass pass with eval builtin command, reeturning Dict
5pass pass with parseCommand() then io->eval(), in local scope
6pass pass with parseCommand() then io->eval(cmd, vars={out_dict: {}})
7pass pass with evalToDict()
8pass pass with runtime REFLECTION via __invoke__ - no parsing
14 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

ysh0 myproc.docString()

[ysh stdout] Expected '(Str) "YSH-style proc"\n(Null) null\n(Str) "doc \' comment with \\" quotes"\n(Null) null\n' Got '(Str) "YSH-style proc"\n(Null) null\n'
[ysh status] Expected 0, got 1

stdout:
(Str)   "YSH-style proc"
(Null)   null
stderr:
  var f = get(__sh_function__, 'f')
              ^~~~~~~~~~~~~~~
[ stdin ]:6: fatal: Undefined variable '__sh_function__'
ysh-cpp0 myproc.docString()

[ysh-cpp stdout] Expected '(Str) "YSH-style proc"\n(Null) null\n(Str) "doc \' comment with \\" quotes"\n(Null) null\n' Got '(Str) "YSH-style proc"\n(Null) null\n'
[ysh-cpp status] Expected 0, got 1

stdout:
(Str)   "YSH-style proc"
(Null)   null
stderr:
  var f = get(__sh_function__, 'f')
              ^~~~~~~~~~~~~~~
[ stdin ]:6: fatal: Undefined variable '__sh_function__'
ysh1 Mutate __sh_function__

[ysh status] Expected 0, got 1

stdout:
sh-func
stderr:
  setvar __sh_function__.f = 42
         ^~~~~~~~~~~~~~~
[ stdin ]:4: fatal: Undefined variable '__sh_function__'
ysh-cpp1 Mutate __sh_function__

[ysh-cpp status] Expected 0, got 1

stdout:
sh-func
stderr:
  setvar __sh_function__.f = 42
         ^~~~~~~~~~~~~~~
[ stdin ]:4: fatal: Undefined variable '__sh_function__'