xref: /freebsd/bin/sh/tests/builtins/exit2.8 (revision 911f0260390e18cf85f3dbf2c719b593efdc1e3c)
1# $FreeBSD$
2
3# exit without arguments is the same as exit $? outside a trap.
4
5trap 'true; true' 0
6(exit 8)
7exit
8