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