spec test index / oilshell.org
61 passed, 2 OK, 5 not implemented, 2 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 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 |
dash | 8 Wait for job doesn't support PIPESTATUS stdout: stderr: dash: 2: Bad substitution |
osh | 8 Wait for job doesn't support 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] Done PGID 5790 |
dash | 12 wait -n stdout: stderr: |
mksh | 12 wait -n stdout: stderr: |
dash | 16 jobs prints one line per job stdout: 0stderr: |