]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/errors.right
Imported from ../bash-2.02.tar.gz.
[thirdparty/bash.git] / tests / errors.right
CommitLineData
cce855bc
JA
1./errors.tests: alias: illegal option: -x
2alias: usage: alias [-p] [name[=value] ... ]
3./errors.tests: unalias: illegal option: -x
4unalias: usage: unalias [-a] [name ...]
5./errors.tests: alias: `hoowah' not found
6./errors.tests: unalias: `hoowah': not an alias
d166f048
JA
7./errors.tests: `1': not a valid identifier
8declare -fr func
9./errors.tests: func: readonly function
cce855bc
JA
10./errors.tests: unset: illegal option: -x
11unset: usage: unset [-f] [-v] [name ...]
d166f048
JA
12./errors.tests: unset: func: cannot unset: readonly function
13./errors.tests: declare: func: readonly function
14./errors.tests: unset: XPATH: cannot unset: readonly variable
15./errors.tests: unset: `/bin/sh': not a valid identifier
cce855bc 16./errors.tests: unset: cannot simultaneously unset a function and a variable
d166f048
JA
17./errors.tests: declare: unknown option: `-z'
18declare: usage: declare [-afFrxi] [-p] name[=value] ...
19./errors.tests: declare: `-z': not a valid identifier
20./errors.tests: declare: `/bin/sh': not a valid identifier
21./errors.tests: declare: cannot use `-f' to make functions
cce855bc
JA
22./errors.tests: exec: illegal option: -i
23exec: usage: exec [-cl] [-a name] file [redirection ...]
d166f048
JA
24./errors.tests: export: XPATH: not a function
25./errors.tests: break: only meaningful in a `for', `while', or `until' loop
26./errors.tests: continue: only meaningful in a `for', `while', or `until' loop
27./errors.tests: shift: bad non-numeric arg `label'
28./errors.tests: shift: too many arguments
29./errors.tests: let: expression expected
30./errors.tests: local: can only be used in a function
cce855bc 31./errors.tests: logout: not login shell: use `exit'
d166f048 32./errors.tests: hash: notthere: not found
cce855bc
JA
33./errors.tests: hash: illegal option: -v
34hash: usage: hash [-r] [-p pathname] [name ...]
d166f048
JA
35./errors.tests: hash: hashing disabled
36./errors.tests: export: `AA[4]': not a valid identifier
37./errors.tests: readonly: `AA[4]': not a valid identifier
38./errors.tests: [-2]: bad array subscript
39./errors.tests: AA: readonly variable
cce855bc
JA
40./errors.tests: AA: readonly variable
41./errors.tests: readonly: ZZZ: cannot assign to array variables in this way
d166f048
JA
42./errors.tests: shift: shift count must be <= $#
43./errors.tests: shift: shift count must be >= 0
44./errors.tests: shopt: no_such_option: unknown shell option name
45./errors.tests: shopt: no_such_option: unknown shell option name
46./errors.tests: umask: `09' is not an octal number from 000 to 777
47./errors.tests: umask: bad character in symbolic mode: :
48./errors.tests: umask: bad symbolic mode operator: :
cce855bc
JA
49./errors.tests: umask: illegal option: -i
50umask: usage: umask [-p] [-S] [mode]
d166f048
JA
51./errors.tests: VAR: readonly variable
52./errors.tests: declare: VAR: readonly variable
53./errors.tests: declare: VAR: readonly variable
54./errors.tests: declare: unset: not found
55./errors.tests: VAR: readonly variable
56./errors.tests: command substitution: line 2: syntax error: unexpected end of file
57./errors.tests: command substitution: line 1: syntax error near unexpected token `done'
58./errors.tests: command substitution: line 1: ` for z in 1 2 3; done '
59./errors.tests: cd: HOME not set
cce855bc 60./errors.tests: cd: /tmp/xyz.bash: No such file or directory
d166f048 61./errors.tests: cd: OLDPWD not set
cce855bc
JA
62./errors.tests: cd: /bin/sh: Not a directory
63./errors.tests: cd: /tmp/cd-notthere: No such file or directory
d166f048
JA
64./errors.tests: .: filename argument required
65.: usage: . filename
66./errors.tests: source: filename argument required
67source: usage: source filename
68./errors.tests: .: illegal option: -i
69.: usage: . filename
70./errors.tests: set: unknown option: q
71./errors.tests: enable: sh: not a shell builtin
72./errors.tests: enable: bash: not a shell builtin
73./errors.tests: shopt: cannot set and unset shell options simultaneously
cce855bc
JA
74./errors.tests: read: illegal option: -t
75read: usage: read [-r] [-p prompt] [-a array] [-e] [name ...]
d166f048
JA
76./errors.tests: read: `/bin/sh': not a valid identifier
77./errors.tests: VAR: readonly variable
cce855bc
JA
78./errors.tests: readonly: illegal option: -x
79readonly: usage: readonly [-anf] [name ...] or readonly -p
d166f048
JA
80./errors.tests: eval: illegal option: -i
81eval: usage: eval [arg ...]
82./errors.tests: command: illegal option: -i
83command: usage: command [-pVv] command [arg ...]
cce855bc
JA
84./errors.tests: /bin/sh + 0: syntax error: operand expected (error token is "/bin/sh + 0")
85./errors.tests: /bin/sh + 0: syntax error: operand expected (error token is "/bin/sh + 0")
d166f048
JA
86./errors.tests: trap: NOSIG: not a signal specification
87./errors.tests: trap: illegal option: -s
88trap: usage: trap [arg] [signal_spec ...] or trap -l
89./errors.tests: trap: ERR: not a signal specification
90./errors.tests: return: can only `return' from a function or sourced script
91./errors.tests: break: loop count must be > 0
92./errors.tests: continue: loop count must be > 0
93./errors.tests: builtin: bash: not a shell builtin
94./errors.tests: bg: no job control
95./errors.tests: fg: no job control
96./errors.tests: kill: -s requires an argument
97./errors.tests: kill: bad signal spec `S'
cce855bc
JA
98./errors.tests: kill: `': not a pid or valid job spec
99kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
100./errors.tests: set: trackall: unknown option name
d166f048 101./errors.tests: `!!': not a valid identifier