Results for errexit.test.sh

casedashbashmkshashoshosh_ALTosh-byterundescription
0pass pass pass pass pass pass pass errexit aborts early
1pass pass pass pass pass pass FAIL errexit for nonexistent command
details
2pass pass pass pass pass pass pass errexit aborts early on pipeline
3pass pass pass pass pass pass FAIL errexit with { }
details
4pass pass pass pass pass pass FAIL errexit with if and { }
details
5pass pass pass pass pass pass FAIL errexit with ||
details
6pass pass pass pass pass pass FAIL errexit with &&
details
7pass pass pass pass pass pass FAIL errexit test && -- from gen-module-init
details
8pass pass pass pass pass pass pass errexit test && and fail
9pass pass pass pass pass pass FAIL errexit and loop
details
10pass pass pass pass pass pass FAIL errexit and brace group { }
details
11pass pass pass pass pass pass pass errexit and time { }
12pass pass pass pass pass pass FAIL errexit with !
details
13pass pass pass pass pass pass FAIL errexit with ! and ;
details
14pass pass pass pass pass pass FAIL errexit with while/until
details
15N-I pass pass BUG pass pass pass errexit with (( ))
detailsdetails
16pass pass pass BUG pass pass FAIL errexit with subshell
detailsdetails
17ok ok ok ok pass pass FAIL setting errexit while it's being ignored
detailsdetailsdetailsdetailsdetails
18pass pass pass pass pass pass FAIL setting errexit in a subshell works but doesn't affect parent shell
details
19ok ok ok ok pass pass FAIL setting errexit while it's being ignored in a subshell
detailsdetailsdetailsdetailsdetails
20pass pass pass pass pass pass FAIL errexit double guard
details
21pass pass pass pass pass pass FAIL background processes respect errexit
details
22pass pass pass pass pass pass FAIL pipeline process respects errexit
details

132 passed, 8 ok, 1 known unimplemented, 2 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun1 errexit for nonexistent command

[osh-byterun status] Expected 127, 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-byterun3 errexit with { }

[osh-byterun stdout] Expected 'one\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-byterun4 errexit with if and { }

[osh-byterun stdout] Expected 'one\ntwo\nthree\nfour\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-byterun5 errexit with ||

[osh-byterun stdout] Expected 'ok\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 errexit with &&

[osh-byterun stdout] Expected 'ok\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-byterun7 errexit test && -- from gen-module-init

[osh-byterun stdout] Expected 'status=1\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 errexit and loop

[osh-byterun stdout] Expected 'hi 2\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-byterun10 errexit and brace group { }

[osh-byterun stdout] Expected 'status=1\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-byterun12 errexit with !

[osh-byterun stdout] Expected 'one\ntwo\nthree\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-byterun13 errexit with ! and ;

[osh-byterun stdout] Expected 'one\ntwo\nthree\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-byterun14 errexit with while/until

[osh-byterun stdout] Expected 'ok\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
dash15 errexit with (( ))

stdout:
stderr: 
_tmp/spec-bin/dash: 3: i++: not found
ash15 errexit with (( ))

stdout:
done
stderr:
_tmp/spec-bin/ash: i++: not found
ash16 errexit with subshell

stdout:
one
three
stderr:
osh-byterun16 errexit with subshell

[osh-byterun stdout] Expected 'one\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
dash17 setting errexit while it's being ignored

stdout:
1
2
3
4
5
6
stderr:
bash17 setting errexit while it's being ignored

stdout:
1
2
3
4
5
6
stderr:
mksh17 setting errexit while it's being ignored

stdout:
1
2
3
4
5
6
stderr:
ash17 setting errexit while it's being ignored

stdout:
1
2
3
4
5
6
stderr:
osh-byterun17 setting errexit while it's being ignored

[osh-byterun stdout] Expected '1\n2\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-byterun18 setting errexit in a subshell works but doesn't affect parent shell

[osh-byterun stdout] Expected '1\n2\n3\n5\n6\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
dash19 setting errexit while it's being ignored in a subshell

stdout:
1
2
3
4
5
6
stderr:
bash19 setting errexit while it's being ignored in a subshell

stdout:
1
2
3
4
5
6
stderr:
mksh19 setting errexit while it's being ignored in a subshell

stdout:
1
2
3
4
5
6
stderr:
ash19 setting errexit while it's being ignored in a subshell

stdout:
1
2
3
4
5
6
stderr:
osh-byterun19 setting errexit while it's being ignored in a subshell

[osh-byterun stdout] Expected '1\n2\n6\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-byterun20 errexit double guard

[osh-byterun stdout] Expected 'true\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-byterun21 background processes respect errexit

[osh-byterun stdout] Expected 'one\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-byterun22 pipeline process respects errexit

[osh-byterun stdout] Expected 'one\n[three]\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