Results for errexit-osh.test.sh

statusoshosh-cpp
pass 3535
total3535
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 with && || !
7pass pass strict_errexit detects proc in && || !
8pass pass strict_errexit without errexit proc
9pass pass strict_errexit without errexit proc / command sub
10pass pass strict_errexit and errexit disabled
11pass pass command sub with command_sub_errexit only
12pass pass command_sub_errexit stops at first error
13pass pass command sub with inherit_errexit and command_sub_errexit
14pass pass command sub: last command fails but keeps going and exit code is 0
15pass pass global assignment with command sub: middle command fails
16pass pass global assignment with command sub: last command fails and it aborts
17pass pass local: middle command fails and keeps going
18pass pass local: last command fails and also keeps going
19pass pass local and inherit_errexit / command_sub_errexit
20pass pass global assignment when last status is failure
21pass pass strict_errexit prevents errexit from being disabled in function
22pass pass strict_errexit prevents errexit from being disabled in brace group
23pass pass strict_errexit prevents errexit from being disabled in subshell
24pass pass strict_errexit and ! && || if while until
25pass pass if pipeline doesn't fail fatally
26pass pass errexit is silent (verbose_errexit for Oil)
27pass pass command sub errexit preserves exit code
28pass pass What's in strict:all?
29pass pass command_sub_errexit causes local d=$(date %x) to fail
30pass pass command_sub_errexit and command sub in array
31pass pass OLD: command sub in conditional, with inherit_errexit
32pass pass OLD: command sub in redirect in conditional
33pass pass Regression
34pass pass ShAssignment used as conditional
70 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped