| status | osh | osh-cpp | |
| pass | 9 | 0 | |
| FAIL | 0 | 9 | |
| total | 9 | 9 | |
| case | osh | osh-cpp | description |
| 0 | pass | FAIL | Process sub input |
| details | |||
| 1 | pass | FAIL | Process sub from external process to stdin |
| details | |||
| 2 | pass | FAIL | Process sub from shell to stdin |
| details | |||
| 3 | pass | FAIL | Non-linear pipeline with >() |
| details | |||
| 4 | pass | FAIL | $(<file) idiom with process sub |
| details | |||
| 5 | pass | FAIL | status code is available |
| details | |||
| 6 | pass | FAIL | shopt -s process_sub_fail |
| details | |||
| 7 | pass | FAIL | process subs and pipelines together |
| details | |||
| 8 | pass | FAIL | process sub in background & |
| details |
9 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh-cpp | 0 Process sub input [osh-cpp stdout] Expected '1\n2\n2\n3\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: cat <(head -n 2 $f) <(tail -n 2 $f)
^
[ stdin ]:3: Invalid word while parsing command list
|
| osh-cpp | 1 Process sub from external process to stdin [osh-cpp stdout] Expected '3\n2\n1\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: seq 3 > >(tac)
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 2 Process sub from shell to stdin [osh-cpp stdout] Expected '3\n2\n1\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: { echo 1; echo 2; echo 3; } > >(tac)
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 3 Non-linear pipeline with >() [osh-cpp stdout] Expected 'OUT\nwarning: e2\no2\no1\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: stdout_stderr 2> >(grep warning) | tac >$TMP/out.txt
^
[ stdin ]:12: Invalid word while parsing command list
|
| osh-cpp | 4 $(<file) idiom with process sub [osh-cpp stdout] Expected 'FOO\nhi\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: echo $(<foo)
^
[ stdin ]:3: Invalid word while parsing command list
|
| osh-cpp | 5 status code is available [osh-cpp stdout] Expected '1\n2\n1\n2\n3\nstatus 2 3\ndone\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: cat <(seq 2; exit 2) <(seq 3; exit 3)
^
[ stdin ]:3: Invalid word while parsing command list
|
| osh-cpp | 6 shopt -s process_sub_fail [osh-cpp stdout] Expected 'a\nb\nstatus=0 ps 2 3\n__\na\nb\nstatus=3 ps 2 3\na\nb\n' Got '' [osh-cpp status] Expected 3 Got 2 stdout: stderr: cat <(echo a; exit 2) <(echo b; exit 3)
^
[ stdin ]:5: Invalid word while parsing command list
|
| osh-cpp | 7 process subs and pipelines together [osh-cpp stdout] Expected '1\n2\n1\n2\n3\nstatus=4\nprocess_sub 2 3\npipeline 0 4\n__\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: cat <(seq 1; exit 1) | {
^
[ stdin ]:6: Invalid word while parsing command list
|
| osh-cpp | 8 process sub in background & [osh-cpp stdout] Expected '1\n2\n3\nsync\nfork\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: cat <(seq 3; sleep 0.1) & wait
^
[ stdin ]:1: Invalid word while parsing command list
|