4 Check if EXIT trap is executed for sub shells.
6 trap 'echo parent exit' EXIT
10 (echo C; trap 'echo sub exit' EXIT; echo C last)
26 Check that trap errors when an action is given with no conditions
29 expected-stderr-pattern:
36 Check that trap errors when a lowercase signal name is given
39 expected-stderr-pattern: