]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/builtins/set1.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / set1.0
CommitLineData
71aad674
A
1# $FreeBSD$
2
3set +C
4set +f
5set -e
6
7settings=$(set +o)
8set -C
9set -f
10set +e
11case $- in
12*C*) ;;
13*) echo missing C ;;
14esac
15case $- in
16*f*) ;;
17*) echo missing C ;;
18esac
19case $- in
20*e*) echo bad e ;;
21esac
22eval "$settings"
23case $- in
24*C*) echo bad C ;;
25esac
26case $- in
27*f*) echo bad f ;;
28esac
29case $- in
30*e*) ;;
31*) echo missing e ;;
32esac