spec test index / oilshell.org
21 passed, 0 OK, 0 not implemented, 0 BUG, 21 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh-cpp | 2 hay builtin usage [osh-cpp stdout] Expected 'status=2\nstatus=0\nread 0\ngreater 0\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 3 hay reset [osh-cpp stdout] Expected 'package 0\nreset 0\n', got '' [osh-cpp status] Expected 127, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 4 hay eval can't be nested [osh-cpp stdout] Expected 'foo\n', got '' [osh-cpp status] Expected 127, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 5 hay names at top level [osh-cpp stdout] Expected 'status=0\n1 one\nstatus=0\n1 two\nstatus=0\n1 three\n' Got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 6 Parsing Nested Attributes nodes (bug fix) [osh-cpp status] Expected 2, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 7 hay eval attr node, and JSON [osh-cpp stdout] Expected 'diff 0\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 8 hay eval shell node, and JSON [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 9 _hay() register [osh-cpp stdout] Expected '1\n2\n0\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 10 haynode builtin can define nodes [osh-cpp stdout] Expected 'level 0 children\n1\nlevel 1 children\n2\nlevel 0 children\n2\n' Got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 11 haynode: usage errors (name or block required) [osh-cpp 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-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 12 haynode: shell nodes require block args; attribute nodes don't [osh-cpp stdout] Expected 'status 0\nstatus 2\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 13 hay eval with shopt -s oil:all [osh-cpp stdout] Expected 'foo bar\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 14 Scope of Variables Inside Hay Blocks [osh-cpp 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-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 15 hay define and then an error [osh-cpp stdout] Expected 'user 0\npackage 0\nTASK 0\ninside\nlicense 0\nlicense 0\n' Got '' [osh-cpp status] Expected 127, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 16 parse_hay() [osh-cpp stdout] Expected 'OK\n', got '' stdout: stderr: |
osh-cpp | 17 Code Blocks: parse_hay() then shvar _DIALECT= { eval_hay() } [osh-cpp stdout] Expected 'level 0 children\n2\n---\nchild 0\nTASK\ncpp\n---\nchild 1\nTASK\npublish-html\n---\n' Got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh-cpp | 18 Attribute / Data Blocks (package-manager) [osh-cpp stdout] Expected 'level 0 children\n3\nlevel 1 children\n0\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
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 7400: Command failed with status 2 |
osh-cpp | 19 Typed Args to Hay Node [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
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\nTYPE TASK\nCODE \n echo `echo task backticks`\necho task backticks eval 'echo task eval'\n ___\n" stdout: backticks eval TYPE TASK CODE echo `echo task backticks` echo task backticks eval 'echo task eval' ___stderr: |
osh-cpp | 20 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 -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |