spec test index / oilshell.org
status | ysh | ysh-cpp | |
pass | 9 | 2 | |
FAIL | 0 | 7 | |
total | 9 | 9 | |
case | ysh | ysh-cpp | description |
0 | pass | FAIL | setvar doesn't work with ref param |
details | |||
1 | pass | FAIL | !== operator |
details | |||
2 | pass | FAIL | elif bug |
details | |||
3 | pass | pass | global vars |
4 | pass | FAIL | Julia port |
details | |||
5 | pass | pass | readonly in loop: explains why const doesn't work |
6 | pass | FAIL | Eggex bug in a loop |
details | |||
7 | pass | FAIL | Append object onto Array |
details | |||
8 | pass | FAIL | Invalid op on string |
details |
11 passed, 0 OK, 0 not implemented, 0 BUG, 7 failed, 0 timeouts, 0 cases skipped
ysh-cpp | 0 setvar doesn't work with ref param [ysh-cpp status] Expected 1, got 2 stdout: stderr: proc get_opt(arg, out Ref) { ^~~ [ stdin ]:1: proc param types should be Ref, Expr, or Block |
ysh-cpp | 1 !== operator [ysh-cpp stdout] Expected 'not equal\n', got '' stdout: stderr: |
ysh-cpp | 2 elif bug [ysh-cpp stdout] Expected 'A\n', got 'else\n' stdout: elsestderr: |
ysh-cpp | 4 Julia port [ysh-cpp stdout] Expected 'git\nbranch\n-D\nfoo\nbaz\n___\nfoo\nbaz\n', got '' [ysh-cpp status] Expected 0, got 134 stdout: stderr: ysh: cpp/core.cc:77: Str* pyos::ReadLine(): Assertion `0' failed. git-branch-merged | while read --line { ^~~~~ [ stdin ]:10: errexit PID 26586: command.Pipeline failed with status 134 |
ysh-cpp | 6 Eggex bug in a loop [ysh-cpp stdout] Expected 'yes\nyes\n', got '' [ysh-cpp status] Expected 0, got 2 stdout: stderr: var pat = / 'test' word+ / ^~~~ [ stdin ]:2: 'word' isn't a character class |
ysh-cpp | 7 Append object onto Array [ysh-cpp stdout] Expected '[\n {\n "1": "Test 1"\n },\n {\n "2": "Test 2"\n }\n]\n' Got '' [ysh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
ysh-cpp | 8 Invalid op on string [ysh-cpp stdout] Expected 'email\n', got '' [ysh-cpp status] Expected 3, got 1 stdout: stderr: for c in @clients { ^~~~~~~~ [ stdin ]:4: fatal: Can't splice 'clients' |