status | ysh | |
pass | 7 | |
FAIL | 2 | |
total | 9 | |
case | ysh | description |
0 | FAIL | myproc.docString() |
details | ||
1 | FAIL | Mutate __sh_function__ |
details | ||
2 | pass | with eval builtin command, in global scope |
3 | pass | with eval builtin command, in local scope |
4 | pass | with eval builtin command, reeturning Dict |
5 | pass | with parseCommand() then io->eval(), in local scope |
6 | pass | with parseCommand() then io->eval(cmd, vars={out_dict: {}}) |
7 | pass | with evalToDict() |
8 | pass | with runtime REFLECTION via __invoke__ - no parsing |
7 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
ysh | 0 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) nullstderr: var f = get(__sh_function__, 'f') ^~~~~~~~~~~~~~~ [ stdin ]:6: fatal: Undefined variable '__sh_function__' |
ysh | 1 Mutate __sh_function__ [ysh status] Expected 0, got 1 stdout: sh-funcstderr: setvar __sh_function__.f = 42 ^~~~~~~~~~~~~~~ [ stdin ]:4: fatal: Undefined variable '__sh_function__' |