spec test index / oilshell.org
status | dash | bash | mksh | ash | osh | |
pass | 5 | 8 | 5 | 8 | 10 | |
ok | 3 | 0 | 3 | 0 | 0 | |
N-I | 2 | 2 | 2 | 2 | 0 | |
total | 10 | 10 | 10 | 10 | 10 | |
case | dash | bash | mksh | ash | osh | description |
0 | ok | pass | ok | pass | pass | command sub: errexit is NOT inherited |
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 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 0 command sub: errexit is NOT inherited stdout: one status=0stderr: |
mksh | 0 command sub: errexit is NOT inherited stdout: one status=0stderr: |
dash | 1 command sub: errexit not ignored with strict-errexit stdout: zero one status=0stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: shopt: not found |
bash | 1 command sub: errexit not ignored with strict-errexit stdout: zero one status=0stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 3: shopt: strict-errexit: invalid shell option name |
mksh | 1 command sub: errexit not ignored with strict-errexit stdout: zero one status=0stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[3]: shopt: not found |
ash | 1 command sub: errexit not ignored with strict-errexit stdout: zero one two status=0stderr: _tmp/spec-bin/ash: shopt: not found _tmp/spec-bin/ash: shopt: not found |
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: good status=0 onestderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shopt: not found |
bash | 7 local and strict-errexit stdout: good status=0 one twostderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 2: shopt: strict-errexit: invalid shell option name |
mksh | 7 local and strict-errexit stdout: good status=0 onestderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: shopt: not found |
ash | 7 local and strict-errexit stdout: good status=0 one twostderr: _tmp/spec-bin/ash: shopt: not found |