spec test index / oilshell.org
34 passed, 2 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh | 10 set -o errtrace: trap ERR runs in subprograms [osh stdout] Expected 'line=6\nsubshell\nline=12\nasync\nline=14\nok\n' Got 'line=6\nsubshell\nline=10\nline=12\nasync\nline=14\nok\n' stdout: line=6 subshell line=10 line=12 async line=14 okstderr: [1] Done PID 10065 [1] Done PID 10066 |
osh-cpp | 10 set -o errtrace: trap ERR runs in subprograms [osh-cpp stdout] Expected 'line=6\nsubshell\nline=12\nasync\nline=14\nok\n' Got 'line=6\nsubshell\nline=10\nline=12\nasync\nline=14\nok\n' stdout: line=6 subshell line=10 line=12 async line=14 okstderr: [1] Done PID 10080 [1] Done PID 10083 |
osh | 12 set -o errtrace - trap ERR runs in shell functions [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: |
osh-cpp | 12 set -o errtrace - trap ERR runs in shell functions [osh-cpp 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: |
osh | 18 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 | 18 trap ERR and pipelines - PIPESTATUS difference stdout: A err [] status=1 [] B err [] status=1 [0 1] err [] status=1 [0 1 0] okstderr: |