Results for
pass 313028
FAIL 013
0pass pass pass errexit aborts early
1pass pass FAIL errexit for nonexistent command
2pass pass pass errexit aborts early on pipeline
3pass pass pass errexit with { }
4pass pass pass errexit with if and { }
5pass pass pass errexit with ||
6pass pass pass errexit with &&
7pass pass pass errexit test && -- from gen-module-init
8pass pass pass errexit test && and fail
9pass pass pass errexit and loop
10pass pass pass errexit and brace group { }
11pass pass FAIL errexit and time { }
12pass pass pass errexit with !
13pass pass pass errexit with ! and ;
14pass pass pass errexit with while/until
15pass pass pass errexit with (( ))
16pass pass pass errexit with subshell
17pass pass pass set -o errexit while it's being ignored (moot with strict_errexit)
18pass pass pass set +o errexit while it's being ignored (moot with strict_errexit)
19pass pass pass set +o errexit with 2 levels of ignored
20pass pass pass setting errexit in a subshell works but doesn't affect parent shell
21pass pass pass set errexit while it's ignored in a subshell (moot with strict_errexit)
22pass pass pass shopt -s strict:all || true while errexit is on
23pass pass pass errexit double guard
24pass FAIL FAIL background processes respect errexit
25pass pass pass pipeline process respects errexit
26pass pass pass compound command
27pass pass pass while loop
28pass pass pass set -e enabled in function (regression)
29pass pass pass set -e in function #2
30pass pass pass Command sub exit code is lost
89 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.cc1 errexit for nonexistent command

[ status] Expected 127, got 1

[ stdin ]:2: 'nonexistent__ZZ' not found
osh_.cc11 errexit and time { }

[ status] Expected 1, got -6

osh_eval.stripped: cpp/core_pyos.h:44: Tuple3<double, double, double> pyos::Time(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.py24 background processes respect errexit

[ stderr] Found 'Traceback (most recent'

Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/", line 66, in <module>
  File "/home/andy/git/oilshell/oil/bin/", line 34, in main
  File "/home/andy/git/oilshell/oil/core/", line 486, in Main
  File "/home/andy/git/oilshell/oil/core/", line 332, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/", line 1643, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/", line 1481, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/andy/git/oilshell/oil/osh/", line 709, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork)
  File "/home/andy/git/oilshell/oil/osh/", line 548, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork)
  File "/home/andy/git/oilshell/oil/core/", line 242, in RunSimpleCommand
    return self.RunBuiltin(builtin_id, cmd_val)
  File "/home/andy/git/oilshell/oil/core/", line 129, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 33
osh_.cc24 background processes respect errexit

[ status] Expected 1, got -6

terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core