22 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 6 failed under osh
| 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 'haynode attr \nLEN 0\nhaynode code \nLEN 0\n---\ndefine attr \nLEN 0\ndefine code \nLEN 0\n' stdout: haynode attr LEN 0 haynode code LEN 0 --- define attr LEN 0 define code LEN 0stderr: haynode package
^~~~~~~
[ stdin ]:6: 'haynode' expected at least 1 arg, or a literal block { }
haynode TASK build
^~~~~~~
[ stdin ]:15: 'haynode' command node requires a literal block argument
package
^~~~~~~
[ stdin ]:26: 'package' expected at least 1 arg, or a literal block { }
TASK build
^~~~
[ stdin ]:34: 'TASK' command node requires a literal block argument
|
| osh | 10 haynode: shell nodes require block args; attribute nodes don't [osh stdout] Expected 'status 0\nstatus 2\n' Got 'status \nstatus \n' stdout: status statusstderr: TASK build
^~~~
[ stdin ]:15: 'TASK' command node requires a literal block argument
|
| osh | 19 evalHay() usage [osh stdout] Expected 'status 3\nstatus 3\nstatus 3\n' Got 'status\nstatus\nstatus\n' stdout: status status statusstderr: |
| osh | 21 Typed Args to Hay Node [osh status] Expected 0 Got 3 stdout: stderr: when NAME [x > 0] {
^
[ stdin ]:6: fatal: Expected 0 typed args, but got 1
|
| osh | 23 CODE node provides code_str, serialized code - issue #2050 [osh stdout] Expected '' Got "(Dict)\n{\n source: null,\n children: [\n {\n type: 'Package',\n args: [],\n children: [\n {\n type: 'INSTALL',\n args: [],\n location_str: '[ stdin ]',\n location_start_line: 8,\n code_str: b' \\n\\n cd dist {\\n ./install\\n }\\n '\n }\n ],\n attrs: {name: 'osh'}\n }\n ]\n}\n" stdout: (Dict)
{
source: null,
children: [
{
type: 'Package',
args: [],
children: [
{
type: 'INSTALL',
args: [],
location_str: '[ stdin ]',
location_start_line: 8,
code_str: b' \n\n cd dist {\n ./install\n }\n '
}
],
attrs: {name: 'osh'}
}
]
}
stderr: |
| osh | 24 Proc within Hay node [osh stdout] Expected '' Got "(Dict)\n{\n source: null,\n children: [\n {\n type: 'Package',\n args: ['cpython'],\n children: [],\n attrs: {version: '3.11', build: <Proc 0x7fe7362e3830>}\n }\n ]\n}\n<Proc 0x7fe7362e3830>\nversion=3.11\n" [osh status] Expected 0 Got 127 stdout: (Dict)
{
source: null,
children: [
{
type: 'Package',
args: ['cpython'],
children: [],
attrs: {version: '3.11', build: <Proc 0x7fe7362e3830>}
}
]
}
<Proc 0x7fe7362e3830>
version=3.11
stderr: make
^~~~
[ stdin ]:10: Command 'make' not found (OILS-ERR-100)
[ stdin ]:10: errexit PID 43406: Command failed with status 127
|