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