-./errors.tests: unset: func: cannot unset: readonly function
-./errors.tests: declare: func: readonly function
-./errors.tests: unset: XPATH: cannot unset: readonly variable
-./errors.tests: unset: `/bin/sh': not a valid identifier
-./errors.tests: unset: cannot simultaneously unset a function and a variable
-./errors.tests: declare: unknown option: `-z'
-declare: usage: declare [-afFrxi] [-p] name[=value] ...
-./errors.tests: declare: `-z': not a valid identifier
-./errors.tests: declare: `/bin/sh': not a valid identifier
-./errors.tests: declare: cannot use `-f' to make functions
-./errors.tests: exec: illegal option: -i
-exec: usage: exec [-cl] [-a name] file [redirection ...]
-./errors.tests: export: XPATH: not a function
-./errors.tests: break: only meaningful in a `for', `while', or `until' loop
-./errors.tests: continue: only meaningful in a `for', `while', or `until' loop
-./errors.tests: shift: bad non-numeric arg `label'
-./errors.tests: shift: too many arguments
-./errors.tests: let: expression expected
-./errors.tests: local: can only be used in a function
-./errors.tests: logout: not login shell: use `exit'
-./errors.tests: hash: notthere: not found
-./errors.tests: hash: illegal option: -v
-hash: usage: hash [-r] [-p pathname] [name ...]
-./errors.tests: hash: hashing disabled
-./errors.tests: export: `AA[4]': not a valid identifier
-./errors.tests: readonly: `AA[4]': not a valid identifier
-./errors.tests: [-2]: bad array subscript
-./errors.tests: AA: readonly variable
-./errors.tests: AA: readonly variable
-./errors.tests: readonly: ZZZ: cannot assign to array variables in this way
-./errors.tests: shift: shift count must be <= $#
-./errors.tests: shift: shift count must be >= 0
-./errors.tests: shopt: no_such_option: unknown shell option name
-./errors.tests: shopt: no_such_option: unknown shell option name
-./errors.tests: umask: `09' is not an octal number from 000 to 777
-./errors.tests: umask: bad character in symbolic mode: :
-./errors.tests: umask: bad symbolic mode operator: :
-./errors.tests: umask: illegal option: -i
+./errors.tests: line 42: unset: func: cannot unset: readonly function
+./errors.tests: line 45: declare: func: readonly function
+./errors.tests: line 49: unset: XPATH: cannot unset: readonly variable
+./errors.tests: line 52: unset: `/bin/sh': not a valid identifier
+./errors.tests: line 55: unset: cannot simultaneously unset a function and a variable
+./errors.tests: line 58: declare: -z: invalid option
+declare: usage: declare [-aAfFilrtux] [-p] [name[=value] ...]
+./errors.tests: line 60: declare: `-z': not a valid identifier
+./errors.tests: line 61: declare: `/bin/sh': not a valid identifier
+./errors.tests: line 65: declare: cannot use `-f' to make functions
+./errors.tests: line 68: exec: -i: invalid option
+exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection ...]
+./errors.tests: line 72: export: XPATH: not a function
+./errors.tests: line 75: break: only meaningful in a `for', `while', or `until' loop
+./errors.tests: line 76: continue: only meaningful in a `for', `while', or `until' loop
+./errors.tests: line 79: shift: label: numeric argument required
+./errors.tests: line 84: shift: too many arguments
+./errors.tests: line 90: let: expression expected
+./errors.tests: line 93: local: can only be used in a function
+./errors.tests: line 96: logout: not login shell: use `exit'
+./errors.tests: line 99: hash: notthere: not found
+./errors.tests: line 102: hash: -v: invalid option
+hash: usage: hash [-lr] [-p pathname] [-dt] [name ...]
+./errors.tests: line 106: hash: hashing disabled
+./errors.tests: line 109: export: `AA[4]': not a valid identifier
+./errors.tests: line 110: readonly: `AA[4]': not a valid identifier
+./errors.tests: line 113: [-2]: bad array subscript
+./errors.tests: line 117: AA: readonly variable
+./errors.tests: line 121: AA: readonly variable
+./errors.tests: line 129: shift: 5: shift count out of range
+./errors.tests: line 130: shift: -2: shift count out of range
+./errors.tests: line 133: shopt: no_such_option: invalid shell option name
+./errors.tests: line 134: shopt: no_such_option: invalid shell option name
+./errors.tests: line 137: umask: 09: octal number out of range
+./errors.tests: line 138: umask: `:': invalid symbolic mode character
+./errors.tests: line 139: umask: `:': invalid symbolic mode operator
+./errors.tests: line 142: umask: -i: invalid option