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