| status | osh | osh_ALT | |
| pass | 10 | 6 | |
| FAIL | 1 | 5 | |
| total | 11 | 11 | |
| case | osh | osh_ALT | description |
| 0 | pass | pass | Splice in array |
| 1 | FAIL | FAIL | Assoc array can't be spliced directly |
| details | details | ||
| 2 | pass | pass | Can't splice string |
| 3 | pass | pass | Can't splice undefined |
| 4 | pass | FAIL | echo $[f(x)] for various types |
| details | |||
| 5 | pass | FAIL | echo $f (x) with space is runtime error |
| details | |||
| 6 | pass | FAIL | echo @f (x) with space is runtime error |
| details | |||
| 7 | pass | pass | echo $x for various types |
| 8 | pass | pass | Wrong sigil with $range() is runtime error |
| 9 | pass | pass | Can't serialize type List in an array? TODO: consider __str__ |
| 10 | pass | FAIL | Wrong sigil @[max(3, 4)] |
| details |
16 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
| osh | 1 Assoc array can't be spliced directly [osh stdout] Expected 'bar\neggs\n', got '' [osh status] Expected 3, got 2 stdout: stderr: declare -A A=(['foo']=bar ['spam']=eggs)
^
[ stdin ]:2: Invalid quoted word part in YSH (OILS-ERR-17)
|
| osh_ALT | 1 Assoc array can't be spliced directly [osh_ALT stdout] Expected 'bar\neggs\n', got '' [osh_ALT status] Expected 3, got 2 stdout: stderr: declare -A A=(['foo']=bar ['spam']=eggs)
^
[ stdin ]:2: Invalid quoted word part in YSH (OILS-ERR-17)
|
| osh_ALT | 4 echo $[f(x)] for various types [osh_ALT stdout] Expected 'bool true\nint 2\nfloat 3.14\nstr identity\n---\nbool expr true\nbool splice true\n' Got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: source $LIB_YSH/math.ysh
^~~~~~~~
[ stdin ]:3: 'source' failed: No builtin file 'stdlib/ysh/math.ysh'
source $LIB_YSH/math.ysh
^~~~~~
[ stdin ]:3: errexit PID 9645: Command failed with status 1
|
| osh_ALT | 5 echo $f (x) with space is runtime error [osh_ALT status] Expected 3, got 1 stdout: stderr: source $LIB_YSH/math.ysh
^~~~~~~~
[ stdin ]:3: 'source' failed: No builtin file 'stdlib/ysh/math.ysh'
source $LIB_YSH/math.ysh
^~~~~~
[ stdin ]:3: errexit PID 9649: Command failed with status 1
|
| osh_ALT | 6 echo @f (x) with space is runtime error [osh_ALT status] Expected 3, got 1 stdout: stderr: source $LIB_YSH/math.ysh
^~~~~~~~
[ stdin ]:3: 'source' failed: No builtin file 'stdlib/ysh/math.ysh'
source $LIB_YSH/math.ysh
^~~~~~
[ stdin ]:3: errexit PID 9653: Command failed with status 1
|
| osh_ALT | 10 Wrong sigil @[max(3, 4)] [osh_ALT status] Expected 3, got 1 stdout: stderr: source $LIB_YSH/math.ysh
^~~~~~~~
[ stdin ]:3: 'source' failed: No builtin file 'stdlib/ysh/math.ysh'
source $LIB_YSH/math.ysh
^~~~~~
[ stdin ]:3: errexit PID 9669: Command failed with status 1
|