spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 19 | 19 | |
FAIL | 2 | 2 | |
total | 21 | 21 | |
case | osh | osh-cpp | description |
0 | pass | pass | hay builtin usage |
1 | pass | pass | hay reset |
2 | pass | pass | hay eval can't be nested |
3 | pass | pass | hay names at top level |
4 | pass | pass | Parsing Nested Attributes nodes (bug fix) |
5 | pass | pass | hay eval Attr node, and JSON |
6 | pass | pass | hay eval shell node, and JSON |
7 | pass | pass | _hay() register |
8 | pass | pass | haynode builtin can define nodes |
9 | pass | pass | haynode: usage errors (name or block required) |
10 | pass | pass | haynode: shell nodes require block args; attribute nodes don't |
11 | pass | pass | hay eval with shopt -s oil:all |
12 | pass | pass | Attr block with duplicate names |
13 | pass | pass | Scope of Variables Inside Hay Blocks |
14 | pass | pass | hay define and then an error |
15 | pass | pass | parseHay() |
16 | pass | pass | Code Blocks: parseHay() then shvar _DIALECT= { evalHay() } |
17 | pass | pass | evalHay() usage |
18 | pass | pass | Attribute / Data Blocks (package-manager) |
19 | FAIL | FAIL | Typed Args to Hay Node |
details | details | ||
20 | FAIL | FAIL | OSH and hay (dynamic parsing) |
details | details |
38 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh | 19 Typed Args to Hay Node [osh status] Expected 0, got 1 stdout: stderr: when NAME (x > 0) { ^ [ stdin ]:6: fatal: Undefined variable 'x' |
osh-cpp | 19 Typed Args to Hay Node [osh-cpp status] Expected 0, got 1 stdout: stderr: when NAME (x > 0) { ^ [ stdin ]:6: fatal: Undefined variable 'x' |
osh | 20 OSH and hay (dynamic parsing) [osh stdout] Expected "backticks\neval\nTYPE TASK\nCODE \n echo `echo task backticks`\n eval 'echo task eval'\n ___\n" Got '' [osh status] Expected 0, got 2 stdout: stderr: b[1]=1 ^~ /home/uke/oil/spec/testdata/config/osh-hay.osh:14: Use var/setvar to assign in YSH source $REPO_ROOT/spec/testdata/config/osh-hay.osh ^~~~~~ [ stdin ]:1: errexit PID 26550: command.Simple failed with status 2 |
osh-cpp | 20 OSH and hay (dynamic parsing) [osh-cpp stdout] Expected "backticks\neval\nTYPE TASK\nCODE \n echo `echo task backticks`\n eval 'echo task eval'\n ___\n" Got '' [osh-cpp status] Expected 0, got 2 stdout: stderr: b[1]=1 ^~ /home/uke/oil/test/../spec/testdata/config/osh-hay.osh:14: Use var/setvar to assign in YSH source $REPO_ROOT/spec/testdata/config/osh-hay.osh ^~~~~~ [ stdin ]:1: errexit PID 26566: command.Simple failed with status 2 |