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