34 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
| osh | 2 wait with jobspec syntax %nonexistent [osh status] Expected 127, got 2 stdout: stderr: wait %nonexistent
^
[ stdin ]:1: 'wait' expected PID or jobspec, got '%nonexistent'
|
| osh-cpp | 2 wait with jobspec syntax %nonexistent [osh-cpp status] Expected 127, got 2 stdout: stderr: wait %nonexistent
^
[ stdin ]:1: 'wait' expected PID or jobspec, got '%nonexistent'
|
| osh | 6 wait for N parallel jobs and check failure [osh stdout] Expected '1\n2\n3\nstatus=3\nstatus=2\nstatus=1\n', got '1\n2\n3\nstatus=3\nstatus=127\nstatus=127\n' stdout: 1 2 3 status=3 status=127 status=127stderr: [%3] PID 4919 Done
[%2] PID 4917 Done
[%1] PID 4916 Done
wait $pid
^~~~
[ stdin ]:11: 4917 isn't a child of this shell
wait $pid
^~~~
[ stdin ]:11: 4919 isn't a child of this shell
|
| osh-cpp | 6 wait for N parallel jobs and check failure [osh-cpp stdout] Expected '1\n2\n3\nstatus=3\nstatus=2\nstatus=1\n', got '1\n2\n3\nstatus=3\nstatus=127\nstatus=127\n' stdout: 1 2 3 status=3 status=127 status=127stderr: [%3] PID 4937 Done
[%2] PID 4934 Done
[%1] PID 4933 Done
wait $pid
^~~~
[ stdin ]:11: 4934 isn't a child of this shell
wait $pid
^~~~
[ stdin ]:11: 4937 isn't a child of this shell
|
| osh | 10 Wait for job and PIPESTATUS [osh stdout] Expected 'status=1 pipestatus=55 1\nstatus=0 pipestatus=0\nstatus=1 pipestatus=1\n' Got 'status=1 pipestatus=141 1\nstatus=0 pipestatus=141 1\nstatus=1 pipestatus=141 1\n' stdout: status=1 pipestatus=141 1 status=0 pipestatus=141 1 status=1 pipestatus=141 1stderr: [%1] PGID 5035 Done |
| osh-cpp | 10 Wait for job and PIPESTATUS [osh-cpp stdout] Expected 'status=1 pipestatus=55 1\nstatus=0 pipestatus=0\nstatus=1 pipestatus=1\n' Got 'status=1 pipestatus=141 1\nstatus=0 pipestatus=141 1\nstatus=1 pipestatus=141 1\n' stdout: status=1 pipestatus=141 1 status=0 pipestatus=141 1 status=1 pipestatus=141 1stderr: [%1] PGID 5047 Done |
| osh | 11 Wait for job and PIPESTATUS - cat [osh stdout] Expected 'hi\nstatus=99 pipestatus=55 99\nstatus=0 pipestatus=0\nhi\nstatus=99 pipestatus=99\n' Got 'hi\nstatus=99 pipestatus=55 99\nstatus=0 pipestatus=55 99\nhi\nstatus=99 pipestatus=55 99\n' stdout: hi status=99 pipestatus=55 99 status=0 pipestatus=55 99 hi status=99 pipestatus=55 99stderr: [%1] PGID 5071 Done |
| osh-cpp | 11 Wait for job and PIPESTATUS - cat [osh-cpp stdout] Expected 'hi\nstatus=99 pipestatus=55 99\nstatus=0 pipestatus=0\nhi\nstatus=99 pipestatus=99\n' Got 'hi\nstatus=99 pipestatus=55 99\nstatus=0 pipestatus=55 99\nhi\nstatus=99 pipestatus=55 99\n' stdout: hi status=99 pipestatus=55 99 status=0 pipestatus=55 99 hi status=99 pipestatus=55 99stderr: [%1] PGID 5080 Done |