spec test index / oilshell.org
| status | osh | osh-cpp | |
| FAIL | 4 | 4 | |
| total | 4 | 4 | |
| case | osh | osh-cpp | description |
| 0 | FAIL | FAIL | ${x|html} |
| details | details | ||
| 1 | FAIL | FAIL | ${x %05d} |
| details | details | ||
| 2 | FAIL | FAIL | ${.myproc builtin sub} |
| details | details | ||
| 3 | FAIL | FAIL | $[x] with _ESCAPER |
| details | details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped 4 failed under osh
| osh | 0 ${x|html} [osh stdout] Expected 'echo hi 2>&1\n', got '' [osh status] Expected 0, got 1 stdout: stderr: echo "${x|html}"
^
[ stdin ]:2: fatal: Not implemented
|
| osh-cpp | 0 ${x|html} [osh-cpp stdout] Expected 'echo hi 2>&1\n', got '' [osh-cpp status] Expected 0, got 1 stdout: stderr: echo "${x|html}"
^
[ stdin ]:2: fatal: Not implemented
|
| osh | 1 ${x %05d} [osh stdout] Expected '00003\n00003\n', got '00003\n' [osh status] Expected 0, got 1 stdout: 00003stderr: echo ${x %05d}
^
[ stdin ]:3: fatal: Not implemented
|
| osh-cpp | 1 ${x %05d} [osh-cpp stdout] Expected '00003\n00003\n', got '00003\n' [osh-cpp status] Expected 0, got 1 stdout: 00003stderr: echo ${x %05d}
^
[ stdin ]:3: fatal: Not implemented
|
| osh | 2 ${.myproc builtin sub} [osh stdout] Expected 'builtin sub\n', got '' [osh status] Expected 0, got 2 stdout: stderr: proc myproc() {
^~~~
[ stdin ]:1: proc is a YSH keyword, but this is OSH.
|
| osh-cpp | 2 ${.myproc builtin sub} [osh-cpp stdout] Expected 'builtin sub\n', got '' [osh-cpp status] Expected 0, got 2 stdout: stderr: proc myproc() {
^~~~
[ stdin ]:1: proc is a YSH keyword, but this is OSH.
|
| osh | 3 $[x] with _ESCAPER [osh stdout] Expected 'code echo hi 2>&1\n', got 'code echo hi 2>&1\ncode echo hi 2>&1\n' stdout: code echo hi 2>&1 code echo hi 2>&1stderr: |
| osh-cpp | 3 $[x] with _ESCAPER [osh-cpp stdout] Expected 'code echo hi 2>&1\n', got 'code echo hi 2>&1\ncode echo hi 2>&1\n' stdout: code echo hi 2>&1 code echo hi 2>&1stderr: |