1 # let's try an error message first
4 # first, set up a known environment
12 shopt -s expand_aliases
19 shopt -s interactive_comments
25 shopt -u shift_verbose
29 # Now, start checking the output
30 builtin printf -- "--\n"
31 shopt -p # list 'em all
32 builtin printf -- "--\n"
33 # test specific variables
38 builtin printf -- "--\n"
40 builtin printf -- "--\n"
42 builtin printf -- "--\n"
45 # Now set up another known environment
65 set -o interactive-comments
71 builtin printf -- "--\n"
74 builtin printf -- "--\n"
76 builtin printf -- "--\n"
79 # test specific variables
80 builtin printf -- "--\n"
84 builtin printf -- "--\n"
86 builtin printf -- "--\n"
88 builtin printf -- "--\n"
92 builtin printf -- "--\n"