Results for errexit.test.sh

statusoshosh-cpp
pass 3535
total3535
caseoshosh-cppdescription
0pass pass errexit aborts early
1pass pass errexit for nonexistent command
2pass pass errexit aborts early on pipeline
3pass pass errexit with { }
4pass pass errexit with if and { }
5pass pass errexit with ||
6pass pass errexit with &&
7pass pass errexit test && -- from gen-module-init
8pass pass errexit test && and fail
9pass pass More && ||
10pass pass errexit and loop
11pass pass errexit and brace group { }
12pass pass errexit and time { }
13pass pass errexit with !
14pass pass errexit with ! and ;
15pass pass errexit with while/until
16pass pass errexit with (( ))
17pass pass errexit with subshell
18pass pass set -o errexit while it's being ignored (moot with strict_errexit)
19pass pass set +o errexit while it's being ignored (moot with strict_errexit)
20pass pass set +o errexit with 2 levels of ignored
21pass pass setting errexit in a subshell works but doesn't affect parent shell
22pass pass set errexit while it's ignored in a subshell (moot with strict_errexit)
23pass pass shopt -s strict:all || true while errexit is on
24pass pass errexit double guard
25pass pass background processes respect errexit
26pass pass pipeline process respects errexit
27pass pass simple command / assign - redir failure DOES respect errexit
28pass pass simple command that's an alias - redir failure checked
29pass pass bash atoms [[ (( - redir failure checked
30pass pass brace group - redir failure checked
31pass pass while loop - redirect failure checked
32pass pass set -e enabled in function (regression)
33pass pass set -e in function #2
34pass pass Command sub exit code is lost
70 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped