Results for hay.test.sh

statusoshosh-cpp
pass 1919
FAIL 22
total2121
caseoshosh-cppdescription
0pass pass hay builtin usage
1pass pass hay reset
2pass pass hay eval can't be nested
3pass pass hay names at top level
4pass pass Parsing Nested Attributes nodes (bug fix)
5pass pass hay eval Attr node, and JSON
6pass pass hay eval shell node, and JSON
7pass pass _hay() register
8pass pass haynode builtin can define nodes
9pass pass haynode: usage errors (name or block required)
10pass pass haynode: shell nodes require block args; attribute nodes don't
11pass pass hay eval with shopt -s oil:all
12pass pass Attr block with duplicate names
13pass pass Scope of Variables Inside Hay Blocks
14pass pass hay define and then an error
15pass pass parseHay()
16pass pass Code Blocks: parseHay() then shvar _DIALECT= { evalHay() }
17pass pass evalHay() usage
18pass pass Attribute / Data Blocks (package-manager)
19FAIL FAIL Typed Args to Hay Node
detailsdetails
20FAIL FAIL OSH and hay (dynamic parsing)
detailsdetails
38 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

osh19 Typed Args to Hay Node

[osh status] Expected 0, got 1

stdout:
stderr: 
  when NAME (x > 0) {
             ^
[ stdin ]:6: fatal: Undefined variable 'x'
osh-cpp19 Typed Args to Hay Node

[osh-cpp status] Expected 0, got 1

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