spec test index / oilshell.org
| status | osh | |
| pass | 19 | |
| FAIL | 2 | |
| total | 21 | |
| case | osh | description |
| 0 | pass | use bin |
| 1 | pass | use dialect |
| 2 | pass | hay builtin usage |
| 3 | pass | hay reset |
| 4 | pass | hay eval can't be nested |
| 5 | pass | hay names at top level |
| 6 | pass | Parsing Nested Attributes nodes (bug fix) |
| 7 | pass | hay eval attr node, and JSON |
| 8 | pass | hay eval shell node, and JSON |
| 9 | pass | _hay() register |
| 10 | pass | haynode builtin can define nodes |
| 11 | pass | haynode: usage errors (name or block required) |
| 12 | pass | haynode: shell nodes require block args; attribute nodes don't |
| 13 | pass | hay eval with shopt -s oil:all |
| 14 | pass | Scope of Variables Inside Hay Blocks |
| 15 | pass | hay define and then an error |
| 16 | pass | parse_hay() |
| 17 | pass | Code Blocks: parse_hay() then shvar _DIALECT= { eval_hay() } |
| 18 | pass | Attribute / Data Blocks (package-manager) |
| 19 | FAIL | Typed Args to Hay Node |
| details | ||
| 20 | FAIL | OSH and hay (dynamic parsing) |
| details |
19 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 2 stdout: stderr: when NAME (x > 0) {
^
[ stdin ]:6: 'when' Too many typed args (expected one block)
[ stdin ]:6: errexit PID 6554: command.Simple failed with status 2
|
| 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 'backticks\neval\n' [osh status] Expected 0, got 3 stdout: backticks evalstderr: const children = _hay()->children[0]->children
^~~~~~~~
'/home/uke/oil/spec/testdata/config/osh-hay.osh':27: fatal: Method 'children' does not exist on 10
source $REPO_ROOT/spec/testdata/config/osh-hay.osh
^~~~~~
[ stdin ]:1: errexit PID 6557: command.Simple failed with status 3
|