spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 12 | 3 | |
FAIL | 0 | 9 | |
total | 12 | 12 | |
case | osh | osh-cpp | description |
0 | pass | FAIL | Splice in array |
details | |||
1 | pass | pass | Splice in assoc array |
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 | FAIL | echo $x for various types |
details | |||
8 | pass | FAIL | @range() |
details | |||
9 | pass | FAIL | Wrong sigil with $range() is runtime error |
details | |||
10 | pass | FAIL | Serializing type in a list |
details | |||
11 | pass | FAIL | Wrong sigil @max(3, 4) |
details |
15 passed, 0 OK, 0 not implemented, 0 BUG, 9 failed, 0 timeouts, 0 cases skipped
osh-cpp | 0 Splice in array [osh-cpp stdout] Expected "['one', 'two', 'three']\n", got '' [osh-cpp status] Expected 0, got 1 stdout: stderr: argv.py @a ^~ [ stdin ]:3: fatal: Can't splice 'a' |
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\nint\nfloat\nstr\n---\nbool expr\nbool splice\n' stdout: bool int float str --- bool expr bool splicestderr: |
osh-cpp | 5 echo $f (x) with space is runtime error [osh-cpp status] Expected 3, got 1 stdout: stderr: echo $identity (true) ^~~~~~~~~ [ stdin ]:2: fatal: Undefined variable 'identity' |
osh-cpp | 6 echo @f (x) with space is runtime error [osh-cpp status] Expected 3, got 1 stdout: stderr: echo @identity (['foo', 'bar']) ^~~~~~~~~ [ stdin ]:2: fatal: Can't splice 'identity' |
osh-cpp | 7 echo $x for various types [osh-cpp stdout] Expected 'true\n42\n3.14\n', got '\n\n\n' stdout: stderr: |
osh-cpp | 8 @range() [osh-cpp stdout] Expected '10\n12\n14\n', got '\n' stdout: stderr: |
osh-cpp | 9 Wrong sigil with $range() is runtime error [osh-cpp stdout] Expected '', got '\nshould not get here\n' [osh-cpp status] Expected 3, got 0 stdout: should not get herestderr: |
osh-cpp | 10 Serializing type in a list [osh-cpp stdout] Expected '3\ntrue\n___\n', got '' [osh-cpp status] Expected 3, got 1 stdout: stderr: write -- @mylist ^~~~~~~ [ stdin ]:5: fatal: Can't splice 'mylist' |
osh-cpp | 11 Wrong sigil @max(3, 4) [osh-cpp stdout] Expected '', got '\nshould not get here\n' [osh-cpp status] Expected 3, got 0 stdout: should not get herestderr: |