summary refs log tree commit diff
path: root/bin/cash/tests/parameters/ifs1.0
blob: 231cf2b0c9c5b730f9ac79774b67d8cfb5ab4093 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# $FreeBSD: releng/12.0/bin/sh/tests/parameters/ifs1.0 306843 2016-10-08 13:40:12Z jilles $

env IFS=_ ${SH} -c '
rc=2
nosuchtool_function() {
	rc=0
}
v=nosuchtool_function
$v && exit "$rc"
'