0d3c08ce399ff132999f39f730446e34b0d1ffef
[platform/upstream/bash.git] / tests / shopt.right
1 ./shopt.tests: line 2: shopt: -z: invalid option
2 shopt: usage: shopt [-pqsu] [-o] [optname ...]
3 --
4 shopt -u autocd
5 shopt -u cdable_vars
6 shopt -s cdspell
7 shopt -u checkhash
8 shopt -u checkjobs
9 shopt -u checkwinsize
10 shopt -s cmdhist
11 shopt -u compat31
12 shopt -u compat32
13 shopt -u compat40
14 shopt -u compat41
15 shopt -u direxpand
16 shopt -u dirspell
17 shopt -u dotglob
18 shopt -u execfail
19 shopt -s expand_aliases
20 shopt -u extdebug
21 shopt -u extglob
22 shopt -s extquote
23 shopt -u failglob
24 shopt -s force_fignore
25 shopt -u globstar
26 shopt -u gnu_errfmt
27 shopt -u histappend
28 shopt -u histreedit
29 shopt -u histverify
30 shopt -s hostcomplete
31 shopt -u huponexit
32 shopt -s interactive_comments
33 shopt -u lastpipe
34 shopt -u lithist
35 shopt -u login_shell
36 shopt -u mailwarn
37 shopt -u no_empty_cmd_completion
38 shopt -u nocaseglob
39 shopt -u nocasematch
40 shopt -u nullglob
41 shopt -s progcomp
42 shopt -s promptvars
43 shopt -u restricted_shell
44 shopt -u shift_verbose
45 shopt -s sourcepath
46 shopt -u xpg_echo
47 --
48 shopt -u huponexit
49 shopt -u checkwinsize
50 shopt -s sourcepath
51 --
52 shopt -s cdspell
53 shopt -s cmdhist
54 shopt -s expand_aliases
55 shopt -s extquote
56 shopt -s force_fignore
57 shopt -s hostcomplete
58 shopt -s interactive_comments
59 shopt -s progcomp
60 shopt -s promptvars
61 shopt -s sourcepath
62 --
63 shopt -u autocd
64 shopt -u cdable_vars
65 shopt -u checkhash
66 shopt -u checkjobs
67 shopt -u checkwinsize
68 shopt -u compat31
69 shopt -u compat32
70 shopt -u compat40
71 shopt -u compat41
72 shopt -u direxpand
73 shopt -u dirspell
74 shopt -u dotglob
75 shopt -u execfail
76 shopt -u extdebug
77 shopt -u extglob
78 shopt -u failglob
79 shopt -u globstar
80 shopt -u gnu_errfmt
81 shopt -u histappend
82 shopt -u histreedit
83 shopt -u histverify
84 shopt -u huponexit
85 shopt -u lastpipe
86 shopt -u lithist
87 shopt -u login_shell
88 shopt -u mailwarn
89 shopt -u no_empty_cmd_completion
90 shopt -u nocaseglob
91 shopt -u nocasematch
92 shopt -u nullglob
93 shopt -u restricted_shell
94 shopt -u shift_verbose
95 shopt -u xpg_echo
96 --
97 autocd          off
98 cdable_vars     off
99 checkhash       off
100 checkjobs       off
101 checkwinsize    off
102 compat31        off
103 compat32        off
104 compat40        off
105 compat41        off
106 direxpand       off
107 dirspell        off
108 dotglob         off
109 execfail        off
110 extdebug        off
111 extglob         off
112 failglob        off
113 globstar        off
114 gnu_errfmt      off
115 histappend      off
116 histreedit      off
117 histverify      off
118 huponexit       off
119 lastpipe        off
120 lithist         off
121 login_shell     off
122 mailwarn        off
123 no_empty_cmd_completion off
124 nocaseglob      off
125 nocasematch     off
126 nullglob        off
127 restricted_shell        off
128 shift_verbose   off
129 xpg_echo        off
130 --
131 set +o allexport
132 set -o braceexpand
133 set -o emacs
134 set +o errexit
135 set +o errtrace
136 set +o functrace
137 set -o hashall
138 set -o histexpand
139 set -o history
140 set +o ignoreeof
141 set -o interactive-comments
142 set +o keyword
143 set -o monitor
144 set +o noclobber
145 set +o noexec
146 set +o noglob
147 set +o nolog
148 set +o notify
149 set +o nounset
150 set +o onecmd
151 set +o physical
152 set +o pipefail
153 set +o posix
154 set -o privileged
155 set +o verbose
156 set +o vi
157 set +o xtrace
158 --
159 allexport       off
160 braceexpand     on
161 emacs           on
162 errexit         off
163 errtrace        off
164 functrace       off
165 hashall         on
166 histexpand      on
167 history         on
168 ignoreeof       off
169 interactive-comments    on
170 keyword         off
171 monitor         on
172 noclobber       off
173 noexec          off
174 noglob          off
175 nolog           off
176 notify          off
177 nounset         off
178 onecmd          off
179 physical        off
180 pipefail        off
181 posix           off
182 privileged      on
183 verbose         off
184 vi              off
185 xtrace          off
186 --
187 set +o allexport
188 set -o braceexpand
189 set -o emacs
190 set +o errexit
191 set +o errtrace
192 set +o functrace
193 set -o hashall
194 set -o histexpand
195 set -o history
196 set +o ignoreeof
197 set -o interactive-comments
198 set +o keyword
199 set -o monitor
200 set +o noclobber
201 set +o noexec
202 set +o noglob
203 set +o nolog
204 set +o notify
205 set +o nounset
206 set +o onecmd
207 set +o physical
208 set +o pipefail
209 set +o posix
210 set -o privileged
211 set +o verbose
212 set +o vi
213 set +o xtrace
214 --
215 set -o history
216 set +o verbose
217 --
218 set -o braceexpand
219 set -o emacs
220 set -o hashall
221 set -o histexpand
222 set -o history
223 set -o interactive-comments
224 set -o monitor
225 set -o privileged
226 --
227 set +o allexport
228 set +o errexit
229 set +o errtrace
230 set +o functrace
231 set +o ignoreeof
232 set +o keyword
233 set +o noclobber
234 set +o noexec
235 set +o noglob
236 set +o nolog
237 set +o notify
238 set +o nounset
239 set +o onecmd
240 set +o physical
241 set +o pipefail
242 set +o posix
243 set +o verbose
244 set +o vi
245 set +o xtrace
246 --
247 allexport       off
248 errexit         off
249 errtrace        off
250 functrace       off
251 ignoreeof       off
252 keyword         off
253 noclobber       off
254 noexec          off
255 noglob          off
256 nolog           off
257 notify          off
258 nounset         off
259 onecmd          off
260 physical        off
261 pipefail        off
262 posix           off
263 verbose         off
264 vi              off
265 xtrace          off
266 --
267 ./shopt.tests: line 93: shopt: xyz1: invalid shell option name
268 ./shopt.tests: line 94: shopt: xyz1: invalid option name