spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 10 | 8 | |
FAIL | 1 | 3 | |
total | 11 | 11 | |
case | osh | osh-cpp | description |
0 | pass | pass | Splice in array |
1 | pass | pass | Assoc array can't be spliced directly |
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 | pass | echo $f (x) with space is runtime error |
6 | pass | pass | echo @f (x) with space is runtime error |
7 | pass | FAIL | echo $x for various types |
details | |||
8 | pass | pass | Wrong sigil with $range() is runtime error |
9 | FAIL | FAIL | Serializing type in a list |
details | details | ||
10 | pass | pass | Wrong sigil @[max(3, 4)] |
18 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh-cpp | 4 echo $[f(x)] for various types [osh-cpp stdout] Expected 'bool true\nint 2\nfloat 3.14\nstr identity\n---\nbool expr true\nbool splice true\n' Got 'bool true\nint 2\nfloat 3.1400000000000001\nstr identity\n---\nbool expr true\nbool splice true\n' stdout: bool true int 2 float 3.1400000000000001 str identity --- bool expr true bool splice truestderr: |
osh-cpp | 7 echo $x for various types [osh-cpp stdout] Expected 'true\n42\n3.14\n', got 'true\n42\n3.1400000000000001\n' stdout: true 42 3.1400000000000001stderr: |
osh | 9 Serializing type in a list [osh status] Expected 3, got 1 stdout: 3 true ___stderr: var list2 = [List] ^~~~ [ stdin ]:9: fatal: Undefined variable 'List' |
osh-cpp | 9 Serializing type in a list [osh-cpp status] Expected 3, got 1 stdout: 3 true ___stderr: var list2 = [List] ^~~~ [ stdin ]:9: fatal: Undefined variable 'List' |