Imported from ../bash-2.05b.tar.gz.

This commit is contained in:
Jari Aalto 2002-07-17 14:10:11 +00:00
commit 7117c2d221
362 changed files with 34387 additions and 15063 deletions

View file

@ -1,99 +1,100 @@
./errors.tests: alias: illegal option: -x
./errors.tests: line 17: alias: -x: invalid option
alias: usage: alias [-p] [name[=value] ... ]
./errors.tests: unalias: illegal option: -x
./errors.tests: line 18: unalias: -x: invalid option
unalias: usage: unalias [-a] [name ...]
./errors.tests: alias: `hoowah' not found
./errors.tests: unalias: `hoowah': not an alias
./errors.tests: `1': not a valid identifier
./errors.tests: line 19: alias: hoowah: not found
./errors.tests: line 20: unalias: hoowah: not found
./errors.tests: line 23: `1': not a valid identifier
declare -fr func
./errors.tests: func: readonly function
./errors.tests: unset: illegal option: -x
./errors.tests: line 36: func: readonly function
./errors.tests: line 39: unset: -x: invalid option
unset: usage: unset [-f] [-v] [name ...]
./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
./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 [-afFirtx] [-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] 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] [-t] [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: 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 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
umask: usage: umask [-p] [-S] [mode]
./errors.tests: umask: bad character in symbolic mode: u
./errors.tests: VAR: readonly variable
./errors.tests: declare: VAR: readonly variable
./errors.tests: declare: VAR: readonly variable
./errors.tests: declare: unset: not found
./errors.tests: VAR: readonly variable
./errors.tests: line 146: umask: `u': invalid symbolic mode character
./errors.tests: line 155: VAR: readonly variable
./errors.tests: line 158: declare: VAR: readonly variable
./errors.tests: line 159: declare: VAR: readonly variable
./errors.tests: line 161: declare: unset: not found
./errors.tests: line 164: VAR: readonly variable
./errors.tests: command substitution: line 2: syntax error: unexpected end of file
./errors.tests: command substitution: line 1: syntax error near unexpected token `done'
./errors.tests: command substitution: line 1: ` for z in 1 2 3; done '
./errors.tests: cd: HOME not set
./errors.tests: cd: /tmp/xyz.bash: No such file or directory
./errors.tests: cd: OLDPWD not set
./errors.tests: cd: /bin/sh: Not a directory
./errors.tests: cd: /tmp/cd-notthere: No such file or directory
./errors.tests: .: filename argument required
./errors.tests: line 171: cd: HOME not set
./errors.tests: line 172: cd: /tmp/xyz.bash: No such file or directory
./errors.tests: line 174: cd: OLDPWD not set
./errors.tests: line 175: cd: /bin/sh: Not a directory
./errors.tests: line 177: cd: /tmp/cd-notthere: No such file or directory
./errors.tests: line 180: .: filename argument required
.: usage: . filename
./errors.tests: source: filename argument required
./errors.tests: line 181: source: filename argument required
source: usage: source filename
./errors.tests: .: illegal option: -i
./errors.tests: line 184: .: -i: invalid option
.: usage: . filename
./errors.tests: set: unknown option: q
./errors.tests: enable: sh: not a shell builtin
./errors.tests: enable: bash: not a shell builtin
./errors.tests: shopt: cannot set and unset shell options simultaneously
./errors.tests: read: var: invalid timeout specification
./errors.tests: read: `/bin/sh': not a valid identifier
./errors.tests: VAR: readonly variable
./errors.tests: readonly: illegal option: -x
readonly: usage: readonly [-anf] [name ...] or readonly -p
./errors.tests: eval: illegal option: -i
./errors.tests: line 187: set: -q: invalid option
set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]
./errors.tests: line 190: enable: sh: not a shell builtin
./errors.tests: line 190: enable: bash: not a shell builtin
./errors.tests: line 193: shopt: cannot set and unset shell options simultaneously
./errors.tests: line 196: read: var: invalid timeout specification
./errors.tests: line 199: read: `/bin/sh': not a valid identifier
./errors.tests: line 202: VAR: readonly variable
./errors.tests: line 205: readonly: -x: invalid option
readonly: usage: readonly [-anf] [name[=value] ...] or readonly -p
./errors.tests: line 208: eval: -i: invalid option
eval: usage: eval [arg ...]
./errors.tests: command: illegal option: -i
./errors.tests: line 209: command: -i: invalid option
command: usage: command [-pVv] command [arg ...]
./errors.tests: /bin/sh + 0: syntax error: operand expected (error token is "/bin/sh + 0")
./errors.tests: /bin/sh + 0: syntax error: operand expected (error token is "/bin/sh + 0")
./errors.tests: trap: NOSIG: not a signal specification
./errors.tests: trap: illegal option: -s
./errors.tests: line 1: /bin/sh + 0: syntax error: operand expected (error token is "/bin/sh + 0")
./errors.tests: line 1: /bin/sh + 0: syntax error: operand expected (error token is "/bin/sh + 0")
./errors.tests: line 216: trap: NOSIG: invalid signal specification
./errors.tests: line 219: trap: -s: invalid option
trap: usage: trap [arg] [signal_spec ...] or trap -l
./errors.tests: return: can only `return' from a function or sourced script
./errors.tests: break: loop count must be > 0
./errors.tests: continue: loop count must be > 0
./errors.tests: builtin: bash: not a shell builtin
./errors.tests: bg: no job control
./errors.tests: fg: no job control
./errors.tests: kill: -s requires an argument
./errors.tests: kill: bad signal spec `S'
./errors.tests: kill: `': not a pid or valid job spec
./errors.tests: line 225: return: can only `return' from a function or sourced script
./errors.tests: line 229: break: 0: loop count out of range
./errors.tests: line 233: continue: 0: loop count out of range
./errors.tests: line 238: builtin: bash: not a shell builtin
./errors.tests: line 242: bg: no job control
./errors.tests: line 243: fg: no job control
./errors.tests: line 246: kill: -s: option requires an argument
./errors.tests: line 248: kill: S: invalid signal specification
./errors.tests: line 250: kill: `': not a pid or valid job spec
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
./errors.tests: set: trackall: unknown option name
./errors.tests: `!!': not a valid identifier
./errors.tests: line 255: set: trackall: invalid option name
./errors.tests: line 262: `!!': not a valid identifier