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