xref: /freebsd/bin/sh/tests/builtins/exit1.0 (revision f0865ec9906d5a18fa2a3b61381f22ce16e606ad)
1
2# exit with an argument should overwrite the exit status in an EXIT trap.
3
4trap 'true; exit $?' 0
5false
6