1# $FreeBSD: stable/11/bin/sh/tests/parameters/exitstatus1.0 185232 2008-11-23 20:27:03Z stefanf $ 2f() { 3 [ $? = $1 ] || exit 1 4} 5 6true 7f 0 8false 9f 1 10