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