spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 10 | 10 | |
FAIL | 6 | 6 | |
total | 16 | 16 | |
case | osh | osh-cpp | description |
0 | pass | pass | source-guard is an old way of preventing redefinition - could remove it |
1 | pass | pass | is-main |
2 | pass | pass | is-main with -c and stdin |
3 | pass | pass | use builtin usage |
4 | pass | pass | use --extern is a no-op, for static analysis |
5 | pass | pass | use foo.ysh creates a value.Obj, and it's cached on later invocations |
6 | pass | pass | procs in a module can call setglobal on globals in that module |
7 | pass | pass | no provided names |
8 | pass | pass | bad provide type |
9 | pass | pass | invalid provide entries |
10 | FAIL | FAIL | use foo.ysh creates a value.Obj with __invoke__ |
details | details | ||
11 | FAIL | FAIL | circular import is an error? |
details | details | ||
12 | FAIL | FAIL | user can inspect __modules__ cache |
details | details | ||
13 | FAIL | FAIL | use foo.ysh --pick a b |
details | details | ||
14 | FAIL | FAIL | use foo.ysh --all-provided |
details | details | ||
15 | FAIL | FAIL | use foo.ysh --all-for-testing |
details | details |
20 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 6 failed under osh
osh | 10 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 28074: command.Simple failed with status 127 |
osh-cpp | 10 use foo.ysh creates a value.Obj with __invoke__ [osh-cpp 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-cpp 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 28087: command.Simple failed with status 127 |
osh | 11 circular import is an error? [osh stdout] Expected '', got 'hi\n' stdout: histderr: |
osh-cpp | 11 circular import is an error? [osh-cpp stdout] Expected '', got 'hi\n' stdout: histderr: |
osh | 12 user can inspect __modules__ cache [osh stdout] Expected '', got 'TODO: Dict view of realpath() string -> Obj instance\n' stdout: TODO: Dict view of realpath() string -> Obj instancestderr: |
osh-cpp | 12 user can inspect __modules__ cache [osh-cpp stdout] Expected '', got 'TODO: Dict view of realpath() string -> Obj instance\n' stdout: TODO: Dict view of realpath() string -> Obj instancestderr: |
osh | 13 use foo.ysh --pick a b [osh stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |
osh-cpp | 13 use foo.ysh --pick a b [osh-cpp stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |
osh | 14 use foo.ysh --all-provided [osh stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |
osh-cpp | 14 use foo.ysh --all-provided [osh-cpp stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |
osh | 15 use foo.ysh --all-for-testing [osh stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |
osh-cpp | 15 use foo.ysh --all-for-testing [osh-cpp stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |