118 passed, 1 OK, 7 not implemented, 1 BUG, 55 failed, 0 timeouts, 0 cases skipped 3 failed under osh
mksh | 1 wait -n with arguments - arguments are respected stdout: stderr: |
ksh | 1 wait -n with arguments - arguments are respected [ksh stdout] Expected 'x\nstatus=0\nstatus=127\n\ngot error lines\n', got 'x\nstatus=1\nstatus=1\n\ngot error lines\n' stdout: x status=1 status=1 got error linesstderr: E: ksh: <stdin>[5]: wait: -n: unknown option |
toysh | 1 wait -n with arguments - arguments are respected [toysh stdout] Expected 'x\nstatus=0\nstatus=127\n\ngot error lines\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
sush | 1 wait -n with arguments - arguments are respected [sush stdout] Expected 'x\nstatus=0\nstatus=127\n\ngot error lines\n', got 'x\nstatus=0\nstatus=-1\n\n' stdout: x status=0 status=-1stderr: 3648189 |
brush | 1 wait -n with arguments - arguments are respected [brush stdout] Expected 'x\nstatus=0\nstatus=127\n\ngot error lines\n', got 'status=1\nstatus=1\n\nx\n' stdout: status=1 status=1 xstderr: [33m WARN[0m not yet implemented: wait -n [33m WARN[0m not yet implemented: wait -n |
mksh | 2 wait -n with nothing to wait for stdout: stderr: mksh: <stdin>[1]: wait: -n: unknown option |
ksh | 2 wait -n with nothing to wait for [ksh status] Expected 127, got 1 stdout: stderr: E: ksh: <stdin>[1]: wait: -n: unknown option |
brush | 2 wait -n with nothing to wait for [brush status] Expected 127, got 1 stdout: stderr: [33m WARN[0m not yet implemented: wait -n |
toysh | 3 wait with jobspec syntax %nonexistent [toysh status] Expected 127, got 1 stdout: stderr: wait: %nonexistent: bad pid/job |
brush | 3 wait with jobspec syntax %nonexistent [brush status] Expected 127, got 1 stdout: stderr: [33m WARN[0m not yet implemented: wait with job specs |
osh | 3 wait with jobspec syntax %nonexistent [osh status] Expected 127, got 2 stdout: stderr: wait %nonexistent ^ [ stdin ]:1: 'wait' expected PID or jobspec, got '%nonexistent' |
toysh | 4 wait with invalid PID [toysh status] Expected 127, got 0 stdout: stderr: |
brush | 4 wait with invalid PID [brush status] Expected 127, got 1 stdout: stderr: [33m WARN[0m not yet implemented: wait with job specs |
bash | 5 wait with invalid arg stdout: stderr: bash: line 1: wait: `zzz': not a pid or valid job spec |
mksh | 5 wait with invalid arg stdout: stderr: mksh: <stdin>[1]: wait: zzz: argument must be %job or process id |
ksh | 5 wait with invalid arg [ksh status] Expected 2, got 127 stdout: stderr: E: ksh: <stdin>[1]: wait: zzz: argument must be %job or process id |
toysh | 5 wait with invalid arg [toysh status] Expected 2, got 1 stdout: stderr: wait: zzz: bad pid/job |
sush | 5 wait with invalid arg [sush status] Expected 2, got 127 stdout: stderr: |
brush | 5 wait with invalid arg [brush status] Expected 2, got 1 stdout: stderr: [33m WARN[0m not yet implemented: wait with job specs |
sush | 6 wait for N parallel jobs [sush stdout] Expected 'status=0\n', got 'status=1\n' stdout: status=1stderr: 3649315 3649316 3649318 |
toysh | 7 wait for N parallel jobs and check failure [toysh stdout] Expected '1\n2\n3\nstatus=3\nstatus=2\nstatus=1\n', got '1\n2\n3\nstatus=0\n' stdout: 1 2 3 status=0stderr: set: bad -o errexit set: bad -o errexit set: bad -o errexit |
sush | 7 wait for N parallel jobs and check failure [sush stdout] Expected '1\n2\n3\nstatus=3\nstatus=2\nstatus=1\n', got '1\n2\n3\nstatus=3\nstatus=0\nstatus=0\n' stdout: 1 2 3 status=3 status=0 status=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: set: errexit: invalid option name 3650180 3650181 3650182 /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 10: set: errexit: invalid option name /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 13: set: errexit: invalid option name /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 10: set: errexit: invalid option name /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 13: set: errexit: invalid option name /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 10: set: errexit: invalid option name /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 13: set: errexit: invalid option name |
brush | 7 wait for N parallel jobs and check failure [brush stdout] Expected '1\n2\n3\nstatus=3\nstatus=2\nstatus=1\n', got '' stdout: stderr: |
toysh | 10 Start background pipeline, wait $pid [toysh stdout] Expected 'status=0\nstatus=99\n--\nstatus=3\nstatus=2\nstatus=1\n' Got 'status=0\nstatus=0\n\nstatus=0\n' stdout: status=0 status=0 status=0stderr: |
sush | 10 Start background pipeline, wait $pid [sush stdout] Expected 'status=0\nstatus=99\n--\nstatus=3\nstatus=2\nstatus=1\n' Got 'status=0\nstatus=0\n--\nstatus=0\nstatus=0\nstatus=0\n' stdout: status=0 status=0 -- status=0 status=0 status=0stderr: 3651725 3651783 3651788 3651791 |
brush | 10 Start background pipeline, wait $pid [brush stdout] Expected 'status=0\nstatus=99\n--\nstatus=3\nstatus=2\nstatus=1\n' Got 'status=0\nstatus=0\n--\n' stdout: status=0 status=0 --stderr: |
toysh | 11 Start background pipeline, wait %job_spec [toysh stdout] Expected 'status=0\nstatus=99\n', got 'status=0\nstatus=1\n' stdout: status=0 status=1stderr: wait: %1: bad pid/job |
brush | 11 Start background pipeline, wait %job_spec [brush stdout] Expected 'status=0\nstatus=99\n', got 'status=0\nstatus=1\n' stdout: status=0 status=1stderr: [33m WARN[0m not yet implemented: wait with job specs |
toysh | 12 Wait for job and PIPESTATUS [toysh stdout] Expected 'fore status=1 pipestatus=55 1\nback status=0 pipestatus=0\nwait status=1 pipestatus=1\n' Got 'fore status=1 pipestatus=\nback status=0 pipestatus=\n' [toysh status] Expected 0, got -11 stdout: fore status=1 pipestatus= back status=0 pipestatus=stderr: |
sush | 12 Wait for job and PIPESTATUS [sush stdout] Expected 'fore status=1 pipestatus=55 1\nback status=0 pipestatus=0\nwait status=1 pipestatus=1\n' Got 'fore status=1 pipestatus=55 1\nback status=0 pipestatus=0\nwait status=1 pipestatus=0\n' stdout: fore status=1 pipestatus=55 1 back status=0 pipestatus=0 wait status=1 pipestatus=0stderr: 3652561 |
osh | 12 Wait for job and PIPESTATUS [osh stdout] Expected 'fore status=1 pipestatus=55 1\nback status=0 pipestatus=0\nwait status=1 pipestatus=1\n' Got 'fore status=1 pipestatus=141 1\nback status=0 pipestatus=141 1\nwait status=1 pipestatus=141 1\n' stdout: fore status=1 pipestatus=141 1 back status=0 pipestatus=141 1 wait status=1 pipestatus=141 1stderr: |
toysh | 13 Wait for job and PIPESTATUS - cat [toysh stdout] Expected 'fore status=99 pipestatus=55 99\nback status=0 pipestatus=0\nwait status=88 pipestatus=88\n\nwait status=77 pipestatus=77\n' Got '' [toysh status] Expected 0, got 55 stdout: stderr: |
sush | 13 Wait for job and PIPESTATUS - cat [sush stdout] Expected 'fore status=99 pipestatus=55 99\nback status=0 pipestatus=0\nwait status=88 pipestatus=88\n\nwait status=77 pipestatus=77\n' Got 'fore status=99 pipestatus=55 99\nback status=0 pipestatus=0\nwait status=88 pipestatus=0\n\nwait status=77 pipestatus=0\n' stdout: fore status=99 pipestatus=55 99 back status=0 pipestatus=0 wait status=88 pipestatus=0 wait status=77 pipestatus=0stderr: 3652878 3652917 |
brush | 13 Wait for job and PIPESTATUS - cat [brush stdout] Expected 'fore status=99 pipestatus=55 99\nback status=0 pipestatus=0\nwait status=88 pipestatus=88\n\nwait status=77 pipestatus=77\n' Got 'fore status=99 pipestatus=55 99\nback status=0 pipestatus=0\nwait status=1 pipestatus=1\n\nwait status=1 pipestatus=1\n' stdout: fore status=99 pipestatus=55 99 back status=0 pipestatus=0 wait status=1 pipestatus=1 wait status=1 pipestatus=1stderr: [33m WARN[0m not yet implemented: wait with job specs [33m WARN[0m not yet implemented: wait with job specs |
osh | 13 Wait for job and PIPESTATUS - cat [osh stdout] Expected 'fore status=99 pipestatus=55 99\nback status=0 pipestatus=0\nwait status=88 pipestatus=88\n\nwait status=77 pipestatus=77\n' Got 'fore status=99 pipestatus=55 99\nback status=0 pipestatus=55 99\nwait status=88 pipestatus=55 99\n\nwait status=77 pipestatus=55 99\n' stdout: fore status=99 pipestatus=55 99 back status=0 pipestatus=55 99 wait status=88 pipestatus=55 99 wait status=77 pipestatus=55 99stderr: |
sush | 14 Brace group in background, wait all [sush stdout] Expected 'status=0\n', got 'status=7\n' stdout: status=7stderr: 3654125 3654141 |
toysh | 15 Wait on background process PID [toysh stdout] Expected 'status=7\nstatus=9\n', got 'status=0\nstatus=0\n' stdout: status=0 status=0stderr: |
brush | 15 Wait on background process PID [brush stdout] Expected 'status=7\nstatus=9\n', got 'status=0\nstatus=0\n' stdout: status=0 status=0stderr: |
toysh | 16 Wait on multiple specific IDs returns last status [toysh stdout] Expected 'status=7\n', got '' [toysh status] Expected 0, got -11 stdout: stderr: |
sush | 16 Wait on multiple specific IDs returns last status [sush stdout] Expected 'status=7\n', got 'status=8\n' stdout: status=8stderr: 3657824 3657827 3657834 |
brush | 16 Wait on multiple specific IDs returns last status [brush stdout] Expected 'status=7\n', got 'status=0\n' stdout: status=0stderr: |
mksh | 17 wait -n stdout: stderr: |
ksh | 17 wait -n [ksh stdout] Expected 'status=3\nstatus=9\n', got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: E: ksh: <stdin>[5]: wait: -n: unknown option E: ksh: <stdin>[7]: wait: -n: unknown option |
toysh | 17 wait -n [toysh stdout] Expected 'status=3\nstatus=9\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 1: sh: syntax error: ( |
brush | 17 wait -n [brush stdout] Expected 'status=3\nstatus=9\n', got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: [33m WARN[0m not yet implemented: wait -n [33m WARN[0m not yet implemented: wait -n |
toysh | 18 Async for loop [toysh stdout] Expected '1\n2\n3\n', got '' stdout: stderr: |
toysh | 19 Background process doesn't affect parent [toysh stdout] Expected '1\n1\n2\n\n', got '1\n1\n2\n2\n' stdout: 1 1 2 2stderr: |
sush | 19 Background process doesn't affect parent [sush stdout] Expected '1\n1\n2\n\n', got '1\n1\n2\n2\n' stdout: 1 1 2 2stderr: 3661779 |
toysh | 20 Background process and then a singleton pipeline [toysh stdout] Expected 'begin\nend\nstatus=42\n', got 'begin\nend\nstatus=0\n' stdout: begin end status=0stderr: |
brush | 20 Background process and then a singleton pipeline [brush stdout] Expected 'begin\nend\nstatus=42\n', got 'begin\nend\nstatus=0\n' stdout: begin end status=0stderr: |
brush | 21 jobs prints one line per job [brush stdout] Expected '2\n', got '0\n' stdout: 0stderr: |
brush | 22 jobs -p prints one line per job [brush stdout] Expected '2\n2\n', got '0\n0\n' stdout: 0 0stderr: |
sush | 23 No stderr spew when shell is not interactive [sush stderr] Expected '', got '3668807\n3668809\n' stdout: stderr: 3668807 3668809 |
bash | 24 YSH wait --all stdout: stderr: |
mksh | 24 YSH wait --all stdout: stderr: |
toysh | 24 YSH wait --all [toysh stdout] Expected 'wait 0\nwait --all 1\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
sush | 24 YSH wait --all [sush stdout] Expected 'wait 0\nwait --all 1\n', got 'wait 0\nwait --all 127\n' stdout: wait 0 wait --all 127stderr: 3669114 3669116 3669122 3669168 3669170 3669174 |
brush | 24 YSH wait --all [brush stdout] Expected 'wait 0\nwait --all 1\n', got 'wait 0\nwait --all 2\n' stdout: wait 0 wait --all 2stderr: error: unexpected argument '--all' found tip: to pass '--all' as a value, use '-- --all' Usage: wait [OPTIONS] [JOB_SPECS]... For more information, try '--help'. |
bash | 25 YSH wait --verbose stdout: stderr: |
mksh | 25 YSH wait --verbose stdout: stderr: |
ksh | 25 YSH wait --verbose [ksh stdout] Expected 'wait 0\nwait --all 1\n', got 'wait 1\nwait --all 1\n' stdout: wait 1 wait --all 1stderr: E: ksh: <stdin>[5]: wait: --: unknown option E: ksh: <stdin>[10]: wait: --: unknown option |
toysh | 25 YSH wait --verbose [toysh stdout] Expected 'wait 0\nwait --all 1\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
sush | 25 YSH wait --verbose [sush stdout] Expected 'wait 0\nwait --all 1\n', got 'wait 127\nwait --all 127\n' stdout: wait 127 wait --all 127stderr: 3669482 3669487 3669499 3669502 |
brush | 25 YSH wait --verbose [brush stdout] Expected 'wait 0\nwait --all 1\n', got 'wait 2\nwait --all 2\n' stdout: wait 2 wait --all 2stderr: error: unexpected argument '--verbose' found tip: to pass '--verbose' as a value, use '-- --verbose' Usage: wait [OPTIONS] [JOB_SPECS]... For more information, try '--help'. error: unexpected argument '--all' found tip: to pass '--all' as a value, use '-- --all' Usage: wait [OPTIONS] [JOB_SPECS]... For more information, try '--help'. |