xref: /freebsd/bin/sh/tests/parameters/exitstatus1.0 (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1# $FreeBSD$
2f() {
3	[ $? = $1 ] || exit 1
4}
5
6true
7f 0
8false
9f 1
10