xref: /freebsd/bin/sh/tests/expansion/set-u3.0 (revision a90b9d0159070121c221b966469c3e36d912bf82)
1
2set -u
3unset x
4v=$( (eval ': $((x))') 2>&1 >/dev/null)
5[ $? -ne 0 ] && [ -n "$v" ]
6