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