spec test index / oilshell.org
71 passed, 1 OK, 7 not implemented, 11 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
mksh | 5 trap ERR and pipeline stdout: line=1 line=1stderr: |
ash | 5 trap ERR and pipeline stdout: line=1 line=1stderr: |
bash | 6 trap ERR pipelines without simple commands stdout: assign dparen dbracket subshell subshell subshell2 subshell2 group okstderr: |
mksh | 10 set -o errtrace: trap ERR runs in subprograms stdout: stderr: |
ash | 10 set -o errtrace: trap ERR runs in subprograms stdout: subshell line=10 okstderr: |
mksh | 12 set -o errtrace: trap ERR with & stdout: stderr: |
ash | 12 set -o errtrace: trap ERR with & stdout: asyncstderr: |
osh | 12 set -o errtrace: trap ERR with & [osh stdout] Expected 'line=8\nasync\n', got 'line=6\nline=8\nasync\n' stdout: line=6 line=8 asyncstderr: [1] Done PID 14346 [1] Done PID 14347 |
mksh | 13 trap ERR not active in shell functions in (bash behavior) stdout: line=4stderr: |
mksh | 14 set -o errtrace - trap ERR runs in shell functions stdout: err errstderr: mksh: <stdin>[16]: set: errtrace: bad option |
mksh | 15 set -o errtrace - trap ERR runs in shell functions (LINENO) stdout: line=4 line=10stderr: mksh: <stdin>[16]: set: errtrace: bad option |
osh | 15 set -o errtrace - trap ERR runs in shell functions (LINENO) [osh stdout] Expected 'line=14\nnow with errtrace\nline=4\nline=10\nline=20\nok\n' Got 'line=10\nnow with errtrace\nline=4\nline=10\nline=10\nok\n' stdout: line=10 now with errtrace line=4 line=10 line=10 okstderr: |
mksh | 16 trap ERR with "atoms": assignment (( [[ stdout: line=3 line=3 line=7 okstderr: |
bash | 18 trap ERR with redirect stdout: line=3 line=3 okstderr: bash: line 7: /zz: Permission denied |
mksh | 18 trap ERR with redirect stdout: line=3 line=3 okstderr: mksh: <stdin>[7]: can't create /zz: Permission denied |
ash | 18 trap ERR with redirect stdout: line=3 okstderr: ash: can't create /zz: Permission denied |
bash | 19 trap ERR with YSH proc stdout: stderr: |
mksh | 19 trap ERR with YSH proc stdout: stderr: |
ash | 19 trap ERR with YSH proc stdout: stderr: |
ash | 21 trap ERR and pipelines - PIPESTATUS difference stdout: stderr: |
osh | 21 trap ERR and pipelines - PIPESTATUS difference stdout: A err [] status=1 [] B err [] status=1 [0 1] err [] status=1 [0 1 0] okstderr: |