xref: /freebsd/bin/sh/tests/builtins/exit2.8 (revision e64fe029e9d3ce476e77a478318e0c3cd201ff08)
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