Results for hay.test.sh

statusosh
pass 21
FAIL 2
total23
caseoshdescription
0pass use bin
1pass use dialect
2pass hay builtin usage
3pass hay reset
4pass hay eval can't be nested
5pass hay names at top level
6pass Parsing Nested Attributes nodes (bug fix)
7pass hay eval Attr node, and JSON
8pass hay eval shell node, and JSON
9pass _hay() register
10pass haynode builtin can define nodes
11pass haynode: usage errors (name or block required)
12pass haynode: shell nodes require block args; attribute nodes don't
13pass hay eval with shopt -s oil:all
14pass Attr block with duplicate names
15pass Scope of Variables Inside Hay Blocks
16pass hay define and then an error
17pass parseHay()
18pass Code Blocks: parseHay() then shvar _DIALECT= { evalHay() }
19pass evalHay() usage
20pass Attribute / Data Blocks (package-manager)
21FAIL Typed Args to Hay Node
details
22FAIL OSH and hay (dynamic parsing)
details
21 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh21 Typed Args to Hay Node

[osh status] Expected 0, got 1

stdout:
stderr: 
  when NAME (x > 0) {
             ^
[ stdin ]:6: fatal: Undefined variable 'x'
osh22 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 32724: command.Simple failed with status 2