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