Results for errexit-strict.test.sh

casedashbashmkshashoshosh_ALTosh-byterundescription
0ok pass ok pass pass pass FAIL command sub: errexit ignored
detailsdetailsdetails
1N-I N-I N-I N-I pass pass FAIL command sub: errexit not ignored with strict-errexit
detailsdetailsdetailsdetailsdetails
2pass pass pass pass pass pass FAIL command sub: last command fails but keeps going and exit code is 0
details
3ok pass ok pass pass pass FAIL global assignment with command sub: middle command fails
detailsdetailsdetails
4pass pass pass pass pass pass pass global assignment with command sub: last command fails and it aborts
5ok pass ok pass pass pass FAIL local: middle command fails and keeps going
detailsdetailsdetails
6pass pass pass pass pass pass FAIL local: last command fails and also keeps going
details
7N-I N-I N-I N-I pass pass FAIL local and strict-errexit
detailsdetailsdetailsdetailsdetails
8pass pass pass pass pass pass FAIL global assignment when last status is failure
details
9pass pass pass pass pass pass FAIL global assignment when last status is failure
details

47 passed, 6 ok, 8 known unimplemented, 0 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

dash0 command sub: errexit ignored

stdout:
one
status=0
stderr:
mksh0 command sub: errexit ignored

stdout:
one
status=0
stderr:
osh-byterun0 command sub: errexit ignored

[osh-byterun stdout] Expected 'one two\nstatus=0\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash1 command sub: errexit not ignored with strict-errexit

stdout:
stderr: 
_tmp/spec-bin/dash: 2: set: Illegal option -o strict-errexit
bash1 command sub: errexit not ignored with strict-errexit

stdout:
zero
one two
status=0
stderr:
_tmp/spec-bin/bash: line 2: set: strict-errexit: invalid option name
mksh1 command sub: errexit not ignored with strict-errexit

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: set: strict-errexit: bad option
ash1 command sub: errexit not ignored with strict-errexit

stdout:
zero
one two
status=0
stderr:
_tmp/spec-bin/ash: set: line 1: illegal option -o strict-errexit
osh-byterun1 command sub: errexit not ignored with strict-errexit

[osh-byterun stdout] Expected 'zero\n', got ''

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun2 command sub: last command fails but keeps going and exit code is 0

[osh-byterun stdout] Expected 'one\nstatus=0\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash3 global assignment with command sub: middle command fails

stdout:
stderr: 
mksh3 global assignment with command sub: middle command fails

stdout:
stderr: 
osh-byterun3 global assignment with command sub: middle command fails

[osh-byterun stdout] Expected 'one\ntwo\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash5 local: middle command fails and keeps going

stdout:
good
status=0
one
stderr:
mksh5 local: middle command fails and keeps going

stdout:
good
status=0
one
stderr:
osh-byterun5 local: middle command fails and keeps going

[osh-byterun stdout] Expected 'good\nstatus=0\none two\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun6 local: last command fails and also keeps going

[osh-byterun stdout] Expected 'good\nstatus=0\none\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash7 local and strict-errexit

stdout:
stderr: 
_tmp/spec-bin/dash: 2: set: Illegal option -o strict-errexit
bash7 local and strict-errexit

stdout:
good
status=0
one two
stderr:
_tmp/spec-bin/bash: line 2: set: strict-errexit: invalid option name
mksh7 local and strict-errexit

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[2]: set: strict-errexit: bad option
ash7 local and strict-errexit

stdout:
good
status=0
one two
stderr:
_tmp/spec-bin/ash: set: line 1: illegal option -o strict-errexit
osh-byterun7 local and strict-errexit

[osh-byterun stdout] Expected 'good\n', got ''

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun8 global assignment when last status is failure

[osh-byterun stdout] Expected 'status=0\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun9 global assignment when last status is failure

[osh-byterun stdout] Expected 'status=0\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend