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