spec test index / oilshell.org
38 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
| osh | 1 use dialect [osh stdout] Expected 'status=2\nstatus=1\nstatus=1\nstatus=0\n', got 'status=2\nstatus=1\n' [osh status] Expected 0, got 1 stdout: status=2 status=1stderr: proc shvar (...args;;; block) {
^~~~
stdlib/ysh/shvar.ysh:1: proc is a YSH keyword, but this is OSH.
use dialect
^~~
[ stdin ]:5: 'use' expected dialect name
use dialect ninja
^~~~~
[ stdin ]:8: Expected dialect 'ninja'
shvar _DIALECT=oops {
^
[ stdin ]:11: fatal: 'shvar' appears to be external. External commands don't accept typed args (OILS-ERR-200)
|
| osh-cpp | 1 use dialect [osh-cpp stdout] Expected 'status=2\nstatus=1\nstatus=1\nstatus=0\n', got 'status=2\nstatus=1\n' [osh-cpp status] Expected 0, got 1 stdout: status=2 status=1stderr: proc shvar (...args;;; block) {
^~~~
stdlib/ysh/shvar.ysh:1: proc is a YSH keyword, but this is OSH.
use dialect
^~~
[ stdin ]:5: 'use' expected dialect name
use dialect ninja
^~~~~
[ stdin ]:8: Expected dialect 'ninja'
shvar _DIALECT=oops {
^
[ stdin ]:11: fatal: 'shvar' appears to be external. External commands don't accept typed args (OILS-ERR-200)
|
| osh | 18 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 stdout: stderr: if (len(args) === 0) {
^
stdlib/ysh/shvar.ysh:3: Unexpected left paren (might need a space before it)
shvar _DIALECT=sourcehut {
^
[ stdin ]:10: fatal: 'shvar' appears to be external. External commands don't accept typed args (OILS-ERR-200)
|
| osh-cpp | 18 Code Blocks: parseHay() then shvar _DIALECT= { evalHay() } [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 1 stdout: stderr: if (len(args) === 0) {
^
stdlib/ysh/shvar.ysh:3: Unexpected left paren (might need a space before it)
shvar _DIALECT=sourcehut {
^
[ stdin ]:10: fatal: 'shvar' appears to be external. External commands don't accept typed args (OILS-ERR-200)
|
| osh | 21 Typed Args to Hay Node [osh status] Expected 0, got 1 stdout: stderr: when NAME (x > 0) {
^
[ stdin ]:6: fatal: Undefined variable 'x'
|
| osh-cpp | 21 Typed Args to Hay Node [osh-cpp status] Expected 0, got 1 stdout: stderr: when NAME (x > 0) {
^
[ stdin ]:6: fatal: Undefined variable 'x'
|
| osh | 22 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 25328: command.Simple failed with status 2
|
| osh-cpp | 22 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 25337: command.Simple failed with status 2
|