spec test index / oilshell.org
status | osh | |
pass | 6 | |
FAIL | 1 | |
total | 7 | |
case | osh | description |
0 | pass | source-guard is an old way of preventing redefinition - could remove it |
1 | pass | is-main |
2 | pass | is-main with -c and stdin |
3 | pass | use builtin usage |
4 | pass | use --extern is a no-op, for static analysis |
5 | pass | use foo.ysh creates a value.Obj, and it's cached on later invocations |
6 | FAIL | use foo.ysh creates a value.Obj with __invoke__ |
details |
6 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 6 use foo.ysh creates a value.Obj with __invoke__ [osh stdout] Expected '', got 'caller_no_leak = null\n(Obj) {"MY_INTEGER":42,"log":<Proc>,"die":<Proc>,"setvar_noleak":"util.ysh","setglobal_noleak":"util.ysh"}\n' [osh status] Expected 0, got 127 stdout: caller_no_leak = null (Obj) {"MY_INTEGER":42,"log":<Proc>,"die":<Proc>,"setvar_noleak":"util.ysh","setglobal_noleak":"util.ysh"}stderr: util log 'hello' ^~~~ [ stdin ]:7: 'util' not found (OILS-ERR-100) [ stdin ]:7: errexit PID 36867: command.Simple failed with status 127 |