diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/bin/sh/expansion/set-u3.0 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/expansion/set-u3.0 b/tools/regression/bin/sh/expansion/set-u3.0 new file mode 100644 index 0000000..7f199b4 --- /dev/null +++ b/tools/regression/bin/sh/expansion/set-u3.0 @@ -0,0 +1,6 @@ +# $FreeBSD$ + +set -u +unset x +v=$( (eval ': $((x))') 2>&1 >/dev/null) +[ $? -ne 0 ] && [ -n "$v" ] |