Results for errexit-oil.test.sh

statusoshosh-cpp
pass 3331
FAIL 02
total3333
caseoshosh-cppdescription
0pass pass command sub: errexit is NOT inherited and outer shell keeps going
1pass pass command sub with inherit_errexit only
2pass pass strict_errexit and assignment builtins (local, export, readonly ...)
3pass pass strict_errexit and command sub in export / readonly
4pass pass strict_errexit disallows pipeline
5pass pass strict_errexit allows singleton pipeline
6pass pass strict_errexit without errexit proc
7pass pass strict_errexit without errexit proc / command sub
8pass FAIL strict_errexit and errexit disabled
details
9pass pass command sub with command_sub_errexit only
10pass pass command_sub_errexit stops at first error
11pass pass command sub with inherit_errexit and command_sub_errexit
12pass pass command sub: last command fails but keeps going and exit code is 0
13pass pass global assignment with command sub: middle command fails
14pass pass global assignment with command sub: last command fails and it aborts
15pass pass local: middle command fails and keeps going
16pass pass local: last command fails and also keeps going
17pass pass local and inherit_errexit / command_sub_errexit
18pass pass global assignment when last status is failure
19pass pass strict_errexit prevents errexit from being disabled in function
20pass pass strict_errexit prevents errexit from being disabled in brace group
21pass pass strict_errexit prevents errexit from being disabled in subshell
22pass pass strict_errexit and ! && || if while until
23pass pass if pipeline doesn't fail fatally
24pass pass errexit is silent (verbose_errexit for Oil)
25pass pass command sub errexit preserves exit code
26pass pass What's in strict:all?
27pass pass command_sub_errexit causes local d=$(date %x) to fail
28pass pass command_sub_errexit and command sub in array
29pass pass OLD: command sub in conditional, with inherit_errexit
30pass pass OLD: command sub in redirect in conditional
31pass FAIL Regression
details
32pass pass ShAssignment used as conditional
64 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh-cpp8 strict_errexit and errexit disabled

[osh-cpp stdout] Expected 'before\nx=\n', got ''

stdout:
stderr: 
osh-cpp31 Regression

[osh-cpp stdout] Expected 'hi\np\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
osh: cpp/pgen2.cc:8: void parse::Parser::setup(int): Assertion `0' failed.
timeout: the monitored command dumped core