sh: Add simple test for 'exit' without parameters.

This commit is contained in:
Jilles Tjoelker 2011-01-08 23:00:38 +00:00
parent ce8a13bdb9
commit 02edd492b4

View File

@ -0,0 +1,7 @@
# $FreeBSD$
# exit without arguments is the same as exit $? outside a trap.
trap 'true; true' 0
(exit 8)
exit