]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/builtins/local2.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / local2.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/builtins/local2.0 251797 2013-06-15 22:22:03Z jilles $
71aad674
A
2
3f() {
4 local -
5 set -a
6 case $- in
7 *a*) : ;;
8 *) echo In-function \$- bad
9 esac
10}
11case $- in
12*a*) echo Initial \$- bad
13esac
14f
15case $- in
16*a*) echo Final \$- bad
17esac