| status | osh | osh-cpp | |
| pass | 20 | 18 | |
| FAIL | 0 | 2 | |
| total | 20 | 20 | |
| case | osh | osh-cpp | description |
| 0 | pass | pass | Customize PS4 |
| 1 | pass | pass | no_xtrace_osh doesn't show [[ ]] etc. |
| 2 | pass | pass | no_xtrace_osh UNSET, and xtrace_rich set |
| 3 | pass | pass | proc and shell function |
| 4 | pass | pass | eval |
| 5 | pass | pass | source |
| 6 | pass | pass | external and builtin |
| 7 | pass | pass | subshell |
| 8 | pass | FAIL | command sub |
| details | |||
| 9 | pass | FAIL | process sub (nondeterministic) |
| details | |||
| 10 | pass | pass | pipeline (nondeterministic) |
| 11 | pass | pass | singleton pipeline |
| 12 | pass | pass | Background pipeline (separate code path) |
| 13 | pass | pass | Background process with fork and & (nondeterministic) |
| 14 | pass | pass | Here doc |
| 15 | pass | pass | Two here docs |
| 16 | pass | pass | Here doc greater than 4096 bytes |
| 17 | pass | pass | Control Flow |
| 18 | pass | pass | use builtin and invokable module |
| 19 | pass | pass | Encoded argv uses shell encoding, not J8 |
38 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh-cpp | 8 command sub [osh-cpp stdout] Expected 'foo=bar\n' Got '' [osh-cpp stderr] Expected " . 12345 builtin echo bar\n. builtin echo 'foo=bar'\n. builtin set '+x'\n; process 12345: status 0\n| command sub 12345\n" Got ' echo foo=$(echo bar)\n ^\n[ stdin ]:5: Invalid word while parsing command list\n' [osh-cpp status] Expected 0 Got 2 stdout: stderr: echo foo=$(echo bar)
^
[ stdin ]:5: Invalid word while parsing command list
|
| osh-cpp | 9 process sub (nondeterministic) [osh-cpp stdout] Expected '4\n3\n1\n' Got '' [osh-cpp stderr] Expected " . 12345 builtin echo 1\n . 12345 exec seq 3 4\n. builtin ':' begin\n. builtin set '+x'\n; process 12345: status 0\n; process 12345: status 0\n; process 12345: status 0\n| command 12345: tac /dev/fd/N /dev/fd/N\n| proc sub 12345\n| proc sub 12345\n" Got ' tac <(seq 3 4) <(echo 1)\n ^\n[ stdin ]:8: Invalid word while parsing command list\n' [osh-cpp status] Expected 0 Got 2 stdout: stderr: tac <(seq 3 4) <(echo 1)
^
[ stdin ]:8: Invalid word while parsing command list
|