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