spec test index / oilshell.org
69 passed, 6 OK, 33 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 0 command sub: errexit is NOT inherited and outer shell keeps going stdout: one parent status=0stderr: |
mksh | 0 command sub: errexit is NOT inherited and outer shell keeps going stdout: one parent status=0stderr: |
ash | 1 command sub with inherit_errexit only stdout: zero one two parent status=0stderr: _tmp/spec-bin/ash: shopt: not found |
dash | 2 command sub with more_errexit only stdout: zero one parent status=0stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shopt: not found |
mksh | 2 command sub with more_errexit only stdout: zero one parent status=0stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: shopt: not found |
dash | 3 command sub with inherit_errexit and more_errexit stdout: zero one parent 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 | 3 command sub with inherit_errexit and more_errexit stdout: zero one parent status=0stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 3: shopt: more_errexit: invalid shell option name |
mksh | 3 command sub with inherit_errexit and more_errexit stdout: zero one parent 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 | 3 command sub with inherit_errexit and more_errexit stdout: zero one two parent status=0stderr: _tmp/spec-bin/ash: shopt: not found _tmp/spec-bin/ash: shopt: not found |
dash | 5 global assignment with command sub: middle command fails stdout: stderr: |
mksh | 5 global assignment with command sub: middle command fails stdout: stderr: |
dash | 7 local: middle command fails and keeps going stdout: good status=0 onestderr: |
mksh | 7 local: middle command fails and keeps going stdout: good status=0 onestderr: |
dash | 9 local and inherit_errexit / more_errexit stdout: good status=0 onestderr: /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 | 9 local and inherit_errexit / more_errexit stdout: good status=0 onestderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 3: shopt: more_errexit: invalid shell option name |
mksh | 9 local and inherit_errexit / more_errexit stdout: good status=0 onestderr: /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 | 9 local and inherit_errexit / more_errexit stdout: good status=0 one twostderr: _tmp/spec-bin/ash: shopt: not found _tmp/spec-bin/ash: shopt: not found |
dash | 12 strict_errexit prevents errexit from being disabled in function stdout: fun builtin ok external ok funstderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 4: shopt: not found |
bash | 12 strict_errexit prevents errexit from being disabled in function stdout: fun builtin ok external ok funstderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 4: shopt: strict_errexit: invalid shell option name |
mksh | 12 strict_errexit prevents errexit from being disabled in function stdout: fun builtin ok external ok funstderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[4]: shopt: not found |
ash | 12 strict_errexit prevents errexit from being disabled in function stdout: fun builtin ok external ok funstderr: _tmp/spec-bin/ash: shopt: not found |
dash | 13 strict_errexit prevents errexit from being disabled in brace group stdout: foo bar foo barstderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: shopt: not found |
bash | 13 strict_errexit prevents errexit from being disabled in brace group stdout: foo bar foo barstderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 3: shopt: strict_errexit: invalid shell option name |
mksh | 13 strict_errexit prevents errexit from being disabled in brace group stdout: foo bar foo barstderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[3]: shopt: not found |
ash | 13 strict_errexit prevents errexit from being disabled in brace group stdout: foo bar foo barstderr: _tmp/spec-bin/ash: shopt: not found |
dash | 14 strict_errexit prevents errexit from being disabled in subshell stdout: foo bar foo barstderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 4: shopt: not found |
bash | 14 strict_errexit prevents errexit from being disabled in subshell stdout: foo bar foo barstderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 4: shopt: strict_errexit: invalid shell option name |
mksh | 14 strict_errexit prevents errexit from being disabled in subshell stdout: foo bar foo barstderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[4]: shopt: not found |
ash | 14 strict_errexit prevents errexit from being disabled in subshell stdout: foo bar foo barstderr: _tmp/spec-bin/ash: shopt: not found _tmp/spec-bin/ash: shopt: not found |
dash | 15 strict_errexit and ! && || if while until stdout: fun should not get here bang=0 -- fun or=0 -- fun and=0 -- fun if=0 -- fun while while=0 -- fun until=0 --stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: shopt: not found |
bash | 15 strict_errexit and ! && || if while until stdout: fun should not get here bang=0 -- fun or=0 -- fun and=0 -- fun if=0 -- fun while while=0 -- fun until=0 --stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: shopt: strict_errexit: invalid shell option name /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: shopt: strict_errexit: invalid shell option name /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: shopt: strict_errexit: invalid shell option name /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: shopt: strict_errexit: invalid shell option name /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: shopt: strict_errexit: invalid shell option name /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: shopt: strict_errexit: invalid shell option name |
mksh | 15 strict_errexit and ! && || if while until stdout: fun should not get here bang=0 -- fun or=0 -- fun and=0 -- fun if=0 -- fun while while=0 -- fun until=0 --stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: shopt: not found |
ash | 15 strict_errexit and ! && || if while until stdout: fun should not get here bang=0 -- fun or=0 -- fun and=0 -- fun if=0 -- fun while while=0 -- fun until=0 --stderr: _tmp/spec-bin/ash: shopt: not found _tmp/spec-bin/ash: shopt: not found _tmp/spec-bin/ash: shopt: not found _tmp/spec-bin/ash: shopt: not found _tmp/spec-bin/ash: shopt: not found _tmp/spec-bin/ash: shopt: not found |
dash | 16 if pipeline doesn't fail fatally stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: set: Illegal option -o pipefail |
ash | 16 if pipeline doesn't fail fatally stdout: stderr: _tmp/spec-bin/ash: syntax error: bad substitution |
dash | 17 if pipeline DOES fail fatally with strict_errexit stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: set: Illegal option -o pipefail |
bash | 17 if pipeline DOES fail fatally with strict_errexit stdout: ! false ok donestderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 3: shopt: strict_errexit: invalid shell option name ls: cannot access '/nonexistent': No such file or directory |
mksh | 17 if pipeline DOES fail fatally with strict_errexit stdout: ! false ok donestderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[3]: shopt: not found ls: cannot access '/nonexistent': No such file or directory |
ash | 17 if pipeline DOES fail fatally with strict_errexit stdout: ! false ok donestderr: _tmp/spec-bin/ash: shopt: not found ls: cannot access '/nonexistent': No such file or directory |