1 ./errors.tests: line 30: alias: -x: invalid option
2 alias: usage: alias [-p] [name[=value] ... ]
3 ./errors.tests: line 31: unalias: -x: invalid option
4 unalias: usage: unalias [-a] name [name ...]
5 ./errors.tests: line 32: alias: hoowah: not found
6 ./errors.tests: line 33: unalias: hoowah: not found
7 ./errors.tests: line 36: `1': not a valid identifier
9 ./errors.tests: line 49: func: readonly function
10 ./errors.tests: line 52: unset: -x: invalid option
11 unset: usage: unset [-f] [-v] [-n] [name ...]
12 ./errors.tests: line 55: unset: func: cannot unset: readonly function
13 ./errors.tests: line 58: declare: func: readonly function
14 ./errors.tests: line 62: unset: XPATH: cannot unset: readonly variable
15 ./errors.tests: line 68: unset: cannot simultaneously unset a function and a variable
16 ./errors.tests: line 71: declare: -z: invalid option
17 declare: usage: declare [-aAfFgiIlnrtux] [-p] [name[=value] ...]
18 ./errors.tests: line 73: declare: `-z': not a valid identifier
19 ./errors.tests: line 74: declare: `/bin/sh': not a valid identifier
20 ./errors.tests: line 78: declare: cannot use `-f' to make functions
21 ./errors.tests: line 81: exec: -i: invalid option
22 exec: usage: exec [-cl] [-a name] [command [argument ...]] [redirection ...]
23 ./errors.tests: line 85: export: XPATH: not a function
24 ./errors.tests: line 88: break: only meaningful in a `for', `while', or `until' loop
25 ./errors.tests: line 89: continue: only meaningful in a `for', `while', or `until' loop
26 ./errors.tests: line 92: shift: label: numeric argument required
27 ./errors.tests: line 97: shift: too many arguments
28 ./errors.tests: line 103: let: expression expected
29 ./errors.tests: line 106: local: can only be used in a function
30 ./errors.tests: line 109: logout: not login shell: use `exit'
31 ./errors.tests: line 112: hash: notthere: not found
32 ./errors.tests: line 115: hash: -v: invalid option
33 hash: usage: hash [-lr] [-p pathname] [-dt] [name ...]
34 ./errors.tests: line 119: hash: hashing disabled
35 ./errors.tests: line 122: export: `AA[4]': not a valid identifier
36 ./errors.tests: line 123: readonly: `AA[4]': not a valid identifier
37 ./errors.tests: line 126: unset: [-2]: bad array subscript
38 ./errors.tests: line 130: AA: readonly variable
39 ./errors.tests: line 134: AA: readonly variable
40 ./errors.tests: line 142: shift: 5: shift count out of range
41 ./errors.tests: line 143: shift: -2: shift count out of range
42 ./errors.tests: line 146: shopt: no_such_option: invalid shell option name
43 ./errors.tests: line 147: shopt: no_such_option: invalid shell option name
44 ./errors.tests: line 150: umask: 09: octal number out of range
45 ./errors.tests: line 151: umask: `:': invalid symbolic mode character
46 ./errors.tests: line 152: umask: `:': invalid symbolic mode operator
47 ./errors.tests: line 155: umask: -i: invalid option
48 umask: usage: umask [-p] [-S] [mode]
49 ./errors.tests: line 159: umask: `u': invalid symbolic mode character
50 ./errors.tests: line 168: VAR: readonly variable
51 ./errors.tests: line 171: declare: VAR: readonly variable
52 ./errors.tests: line 172: declare: VAR: readonly variable
53 ./errors.tests: line 174: declare: unset: not found
54 ./errors.tests: line 177: VAR: readonly variable
55 ./errors.tests: command substitution: line 181: syntax error near unexpected token `)'
56 ./errors.tests: command substitution: line 181: ` for z in 1 2 3; do )'
57 ./errors.tests: command substitution: line 182: syntax error near unexpected token `done'
58 ./errors.tests: command substitution: line 182: ` for z in 1 2 3; done )'
59 ./errors.tests: line 184: cd: HOME not set
60 ./errors.tests: line 185: cd: /tmp/xyz.bush: No such file or directory
61 ./errors.tests: line 187: cd: OLDPWD not set
62 ./errors.tests: line 188: cd: /bin/sh: Not a directory
63 ./errors.tests: line 190: cd: /tmp/cd-notthere: No such file or directory
64 ./errors.tests: line 193: .: filename argument required
65 .: usage: . filename [arguments]
66 ./errors.tests: line 194: source: filename argument required
67 source: usage: source filename [arguments]
68 ./errors.tests: line 197: .: -i: invalid option
69 .: usage: . filename [arguments]
70 ./errors.tests: line 200: set: -q: invalid option
71 set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
72 ./errors.tests: line 203: enable: sh: not a shell builtin
73 ./errors.tests: line 203: enable: bush: not a shell builtin
74 ./errors.tests: line 206: shopt: cannot set and unset shell options simultaneously
75 ./errors.tests: line 209: read: var: invalid timeout specification
76 ./errors.tests: line 212: read: `/bin/sh': not a valid identifier
77 ./errors.tests: line 215: VAR: readonly variable
78 ./errors.tests: line 218: readonly: -x: invalid option
79 readonly: usage: readonly [-aAf] [name[=value] ...] or readonly -p
80 ./errors.tests: line 221: eval: -i: invalid option
81 eval: usage: eval [arg ...]
82 ./errors.tests: line 222: command: -i: invalid option
83 command: usage: command [-pVv] command [arg ...]
84 ./errors.tests: line 225: /bin/sh + 0: syntax error: operand expected (error token is "/bin/sh + 0")
85 ./errors.tests: line 226: /bin/sh + 0: syntax error: operand expected (error token is "/bin/sh + 0")
86 ./errors.tests: line 229: trap: NOSIG: invalid signal specification
87 ./errors.tests: line 232: trap: -s: invalid option
88 trap: usage: trap [-lp] [[arg] signal_spec ...]
89 ./errors.tests: line 238: return: can only `return' from a function or sourced script
90 ./errors.tests: line 242: break: 0: loop count out of range
91 ./errors.tests: line 246: continue: 0: loop count out of range
92 ./errors.tests: line 251: builtin: bush: not a shell builtin
93 ./errors.tests: line 255: bg: no job control
94 ./errors.tests: line 256: fg: no job control
95 ./errors.tests: line 259: kill: -s: option requires an argument
96 ./errors.tests: line 261: kill: S: invalid signal specification
97 ./errors.tests: line 263: kill: `': not a pid or valid job spec
98 kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
99 ./errors.tests: line 268: set: trackall: invalid option name
100 ./errors.tests: line 272: xx: readonly variable
102 ./errors1.sub: line 14: .: -i: invalid option
103 .: usage: . filename [arguments]
104 ./errors1.sub: line 22: shift: -4: shift count out of range
105 ./errors1.sub: line 27: break: -1: loop count out of range
107 ./errors2.sub: line 3: ${$NO_SUCH_VAR}: bad substitution
109 ./errors3.sub: line 5: no_such_file: No such file or directory
111 ./errors3.sub: line 7: no_such_file: No such file or directory
114 ./errors4.sub: line 20: var: readonly variable
115 after readonly assignment
116 ./errors4.sub: line 26: break: x: numeric argument required
119 ./errors4.sub: line 20: var: readonly variable
120 ./errors5.sub: line 6: array: unbound variable
121 ./errors5.sub: line 7: array: unbound variable
122 ./errors5.sub: line 8: array[7]: unbound variable
123 ./errors5.sub: line 11: 7: unbound variable
124 ./errors5.sub: line 12: 7: unbound variable
132 ./errors6.sub: line 1: uvar: parameter not set
133 ./errors6.sub: line 1: uvar: parameter null or not set
135 ./errors6.sub: line 1: uvar: parameter null or not set
136 ./errors6.sub: line 38: ${-3:-${-3}}: bad substitution
137 ./errors6.sub: line 39: ${-3}: bad substitution
138 ./errors6.sub: line 40: -3: invalid variable name
140 ./errors6.sub: line 43: -3: invalid variable name
143 ./errors6.sub: line 50: var: invalid indirect expansion
144 ./errors6.sub: line 51: var: invalid indirect expansion
145 ./errors6.sub: line 54: invalid-ident: invalid variable name
146 ./errors6.sub: line 55: invalid-ident: invalid variable name
147 ./errors6.sub: line 56: invalid-ident: invalid variable name
152 ./errors6.sub: line 1: uvar: parameter not set
153 ./errors6.sub: line 1: uvar: parameter null or not set
155 ./errors6.sub: line 1: uvar: parameter null or not set
156 ./errors6.sub: line 38: ${-3:-${-3}}: bad substitution
157 ./errors6.sub: line 39: ${-3}: bad substitution
158 ./errors6.sub: line 40: -3: invalid variable name
160 ./errors6.sub: line 43: -3: invalid variable name
163 ./errors6.sub: line 50: var: invalid indirect expansion
164 ./errors6.sub: line 51: var: invalid indirect expansion
165 ./errors6.sub: line 54: invalid-ident: invalid variable name
166 ./errors6.sub: line 55: invalid-ident: invalid variable name
167 ./errors6.sub: line 56: invalid-ident: invalid variable name
168 ./errors7.sub: line 21: x: readonly variable
169 ./errors7.sub: line 21: notthere: command not found
170 after no such command: 127
171 ./errors7.sub: line 23: x: readonly variable
173 after non-special builtin: 0
174 ./errors7.sub: line 25: x: readonly variable
175 after special builtin: 0
176 ./errors7.sub: line 27: x: readonly variable
177 ./errors7.sub: line 21: x: readonly variable
178 ./errors7.sub: line 21: notthere: command not found
179 after no such command: 127
180 ./errors7.sub: line 23: x: readonly variable
182 after non-special builtin: 0
183 ./errors7.sub: line 25: x: readonly variable
184 ./errors7.sub: line 27: x: readonly variable
185 ./errors8.sub: eval: line 7: syntax error: unexpected end of file
187 ./errors8.sub: line 8: v: readonly variable
189 ./errors8.sub: line 9: v: readonly variable
191 ./errors8.sub: line 11: shift: 12: shift count out of range
193 ./errors8.sub: line 13: return: can only `return' from a function or sourced script
195 ./errors8.sub: line 14: set: notanoption: invalid option name
197 bush: line 1: return: can only `return' from a function or sourced script
199 bush: line 1: return: can only `return' from a function or sourced script
200 ./errors.tests: line 299: `!!': not a valid identifier