]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/expansion/set-u3.0
shell_cmds-203.tar.gz
[apple/shell_cmds.git] / sh / tests / expansion / set-u3.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/expansion/set-u3.0 221463 2011-05-04 22:12:22Z jilles $
71aad674
A
2
3set -u
4unset x
5v=$( (eval ': $((x))') 2>&1 >/dev/null)
6[ $? -ne 0 ] && [ -n "$v" ]