spec test index / oilshell.org
36 passed, 2 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
osh | 10 set -o errtrace: trap ERR runs in subprograms [osh stdout] Expected 'line=6\nsubshell\nline=10\nok\n', got 'subshell\nline=10\nok\n' stdout: subshell line=10 okstderr: set -o errtrace ^~~ [ stdin ]:3: 'set' got invalid option 'errtrace' |
osh-cpp | 10 set -o errtrace: trap ERR runs in subprograms [osh-cpp stdout] Expected 'line=6\nsubshell\nline=10\nok\n', got 'subshell\nline=10\nok\n' stdout: subshell line=10 okstderr: set -o errtrace ^~~ [ stdin ]:3: 'set' got invalid option 'errtrace' |
osh | 12 set -o errtrace: trap ERR with & [osh stdout] Expected 'line=8\nasync\n', got 'async\n' stdout: asyncstderr: set -o errtrace ^~~ [ stdin ]:3: 'set' got invalid option 'errtrace' [1] Done PID 10121 [1] Done PID 10123 |
osh-cpp | 12 set -o errtrace: trap ERR with & [osh-cpp stdout] Expected 'line=8\nasync\n', got 'async\n' stdout: asyncstderr: set -o errtrace ^~~ [ stdin ]:3: 'set' got invalid option 'errtrace' [1] Done PID 10130 [1] Done PID 10133 |
osh | 14 set -o errtrace - trap ERR runs in shell functions [osh stdout] Expected 'err\nnow with errtrace\nerr\nerr\nerr\nok\n', got 'err\nerr\nnow with errtrace\nerr\nok\n' stdout: err err now with errtrace err okstderr: set -o errtrace ^~~ [ stdin ]:16: 'set' got invalid option 'errtrace' |
osh-cpp | 14 set -o errtrace - trap ERR runs in shell functions [osh-cpp stdout] Expected 'err\nnow with errtrace\nerr\nerr\nerr\nok\n', got 'err\nerr\nnow with errtrace\nerr\nok\n' stdout: err err now with errtrace err okstderr: set -o errtrace ^~~ [ stdin ]:16: 'set' got invalid option 'errtrace' |
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\nline=16\nnow with errtrace\nline=10\nok\n' stdout: line=10 line=16 now with errtrace line=10 okstderr: set -o errtrace ^~~ [ stdin ]:16: 'set' got invalid option 'errtrace' |
osh-cpp | 15 set -o errtrace - trap ERR runs in shell functions (LINENO) [osh-cpp stdout] Expected 'line=14\nnow with errtrace\nline=4\nline=10\nline=20\nok\n' Got 'line=10\nline=16\nnow with errtrace\nline=10\nok\n' stdout: line=10 line=16 now with errtrace line=10 okstderr: set -o errtrace ^~~ [ stdin ]:16: 'set' got invalid option 'errtrace' |
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: |
osh-cpp | 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: |