spec test index / oilshell.org
status | osh | |
FAIL | 21 | |
total | 21 | |
case | osh | description |
0 | FAIL | hay builtin usage |
details | ||
1 | FAIL | hay reset |
details | ||
2 | FAIL | hay eval can't be nested |
details | ||
3 | FAIL | hay names at top level |
details | ||
4 | FAIL | Parsing Nested Attributes nodes (bug fix) |
details | ||
5 | FAIL | hay eval Attr node, and JSON |
details | ||
6 | FAIL | hay eval shell node, and JSON |
details | ||
7 | FAIL | _hay() register |
details | ||
8 | FAIL | haynode builtin can define nodes |
details | ||
9 | FAIL | haynode: usage errors (name or block required) |
details | ||
10 | FAIL | haynode: shell nodes require block args; attribute nodes don't |
details | ||
11 | FAIL | hay eval with shopt -s oil:all |
details | ||
12 | FAIL | Attr block with duplicate names |
details | ||
13 | FAIL | Scope of Variables Inside Hay Blocks |
details | ||
14 | FAIL | hay define and then an error |
details | ||
15 | FAIL | parseHay() |
details | ||
16 | FAIL | Code Blocks: parseHay() then shvar _DIALECT= { evalHay() } |
details | ||
17 | FAIL | evalHay() usage |
details | ||
18 | FAIL | Attribute / Data Blocks (package-manager) |
details | ||
19 | FAIL | Typed Args to Hay Node |
details | ||
20 | FAIL | 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
osh | 0 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_ |
osh | 1 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_ |
osh | 2 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_ |
osh | 3 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_ |
osh | 4 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_ |
osh | 5 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_ |
osh | 6 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_ |
osh | 7 _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_ |
osh | 8 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_ |
osh | 9 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_ |
osh | 10 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_ |
osh | 11 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_ |
osh | 12 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_ |
osh | 13 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_ |
osh | 14 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_ |
osh | 15 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_ |
osh | 16 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_ |
osh | 17 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_ |
osh | 18 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_ |
osh | 19 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_ |
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 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_ |