spec test index / oilshell.org
| case | dash | bash | mksh | ash | osh | description |
| 0 | ok | pass | ok | pass | pass | command sub: errexit ignored |
| details | details | |||||
| 1 | N-I | N-I | N-I | N-I | pass | command sub: errexit not ignored with strict-errexit |
| details | details | details | details | |||
| 2 | pass | pass | pass | pass | pass | command sub: last command fails but keeps going and exit code is 0 |
| 3 | ok | pass | ok | pass | pass | global assignment with command sub: middle command fails |
| details | details | |||||
| 4 | pass | pass | pass | pass | pass | global assignment with command sub: last command fails and it aborts |
| 5 | ok | pass | ok | pass | pass | local: middle command fails and keeps going |
| details | details | |||||
| 6 | pass | pass | pass | pass | pass | local: last command fails and also keeps going |
| 7 | N-I | N-I | N-I | N-I | pass | local and strict-errexit |
| details | details | details | details | |||
| 8 | pass | pass | pass | pass | pass | global assignment when last status is failure |
| 9 | pass | pass | pass | pass | pass | global assignment when last status is failure |
36 passed, 6 ok, 8 known unimplemented, 0 known bugs, 0 failed, 0 skipped
| dash | 0 command sub: errexit ignored stdout: one status=0stderr: |
| mksh | 0 command sub: errexit ignored stdout: one status=0stderr: |
| dash | 1 command sub: errexit not ignored with strict-errexit stdout: stderr: _tmp/spec-bin/dash: 2: set: Illegal option -o strict-errexit |
| bash | 1 command sub: errexit not ignored with strict-errexit stdout: zero one two status=0stderr: _tmp/spec-bin/bash: line 2: set: strict-errexit: invalid option name |
| mksh | 1 command sub: errexit not ignored with strict-errexit stdout: stderr: _tmp/spec-bin/mksh: <stdin>[2]: set: strict-errexit: bad option |
| ash | 1 command sub: errexit not ignored with strict-errexit stdout: zero one two status=0stderr: _tmp/spec-bin/ash: set: line 1: illegal option -o strict-errexit |
| dash | 3 global assignment with command sub: middle command fails stdout: stderr: |
| mksh | 3 global assignment with command sub: middle command fails stdout: stderr: |
| dash | 5 local: middle command fails and keeps going stdout: good status=0 onestderr: |
| mksh | 5 local: middle command fails and keeps going stdout: good status=0 onestderr: |
| dash | 7 local and strict-errexit stdout: stderr: _tmp/spec-bin/dash: 2: set: Illegal option -o strict-errexit |
| bash | 7 local and strict-errexit stdout: good status=0 one twostderr: _tmp/spec-bin/bash: line 2: set: strict-errexit: invalid option name |
| mksh | 7 local and strict-errexit stdout: stderr: _tmp/spec-bin/mksh: <stdin>[2]: set: strict-errexit: bad option |
| ash | 7 local and strict-errexit stdout: good status=0 one twostderr: _tmp/spec-bin/ash: set: line 1: illegal option -o strict-errexit |