Results for hay.test.sh

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

Details on runs that didn't PASS

osh0 hay builtin usage

[osh stdout] Expected 'status=2\nstatus=0\nread 0\ngreater 0\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh1 hay reset

[osh stdout] Expected 'package 0\nreset 0\n', got ''
[osh status] Expected 127, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh2 hay eval can't be nested

[osh stdout] Expected 'foo\n', got ''
[osh status] Expected 127, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh3 hay names at top level

[osh stdout] Expected 'status=0\n1 one\nstatus=0\n1 two\nstatus=0\n1 three\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh4 Parsing Nested Attributes nodes (bug fix)

[osh status] Expected 2, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh5 hay eval Attr node, and JSON

[osh stdout] Expected 'diff 0\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh6 hay eval shell node, and JSON

[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh7 _hay() register

[osh stdout] Expected '1\n2\n0\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh8 haynode builtin can define nodes

[osh stdout] Expected 'level 0 children\n1\nlevel 1 children\n2\nlevel 0 children\n2\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh9 haynode: usage errors (name or block required)

[osh stdout] Expected 'haynode attr 2\nLEN 0\nhaynode code 2\nLEN 0\n---\ndefine attr 2\nLEN 0\ndefine code 2\nLEN 0\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh10 haynode: shell nodes require block args; attribute nodes don't

[osh stdout] Expected 'status 0\nstatus 2\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh11 hay eval with shopt -s oil:all

[osh stdout] Expected 'foo bar\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh12 Attr block with duplicate names

[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh13 Scope of Variables Inside Hay Blocks

[osh stdout] Expected 'location = https://example.com/downloads/foo.tar.gz\nbackup = https://archive.example.com/downloads/foo.tar.gz\ndeps location https://example.com/downloads/spam.tar.gz\ndeps backup https://archive.example.com/downloads/spam.tar.xz\nAFTER downloads/foo.tar.gz\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh14 hay define and then an error

[osh stdout] Expected 'user 0\npackage 0\nTASK 0\ninside\nlicense 0\nlicense 0\n' Got ''
[osh status] Expected 127, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh15 parseHay()

[osh stdout] Expected 'OK\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh16 Code Blocks: parseHay() then shvar _DIALECT= { evalHay() }

[osh stdout] Expected 'level 0 children\n2\n---\nchild 0\nTASK\ncpp\n---\nchild 1\nTASK\npublish-html\n---\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh17 evalHay() usage

[osh stdout] Expected 'status 3\nstatus 3\nstatus 3\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh18 Attribute / Data Blocks (package-manager)

[osh stdout] Expected 'level 0 children\n3\nlevel 1 children\n0\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh19 Typed Args to Hay Node

[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
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 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_