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