70 passed, 2 OK, 6 not implemented, 2 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
| dash | 1 wait -n with nothing to wait for stdout: stderr: dash: 1: wait: Illegal option -n |
| mksh | 1 wait -n with nothing to wait for stdout: stderr: mksh: <stdin>[1]: wait: -n: unknown option |
| dash | 2 wait with jobspec syntax %nonexistent stdout: stderr: dash: 1: wait: No such job: %nonexistent |
| 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'
|
| bash | 4 wait with invalid arg stdout: stderr: bash: line 1: wait: `zzz': not a pid or valid job spec |
| mksh | 4 wait with invalid arg stdout: stderr: mksh: <stdin>[1]: wait: zzz: argument must be %job or process id |
| 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 13856 Done
[%2] PID 13854 Done
[%1] PID 13853 Done
wait $pid
^~~~
[ stdin ]:11: 13854 isn't a child of this shell
wait $pid
^~~~
[ stdin ]:11: 13856 isn't a child of this shell
|
| dash | 10 Wait for job and PIPESTATUS stdout: stderr: dash: 2: Bad substitution |
| 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 13910 Done |
| dash | 11 Wait for job and PIPESTATUS - cat stdout: histderr: dash: 2: Bad substitution |
| 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 13934 Done |
| dash | 15 wait -n stdout: stderr: |
| mksh | 15 wait -n stdout: stderr: |
| dash | 19 jobs prints one line per job stdout: 0stderr: |