Imported from ../bash-2.01.tar.gz.
[platform/upstream/bash.git] / tests / errors.right
1 ./errors.tests: `1': not a valid identifier
2 declare -fr func
3 ./errors.tests: func: readonly function
4 ./errors.tests: unset: func: cannot unset: readonly function
5 ./errors.tests: declare: func: readonly function
6 ./errors.tests: unset: XPATH: cannot unset: readonly variable
7 ./errors.tests: unset: `/bin/sh': not a valid identifier
8 ./errors.tests: declare: unknown option: `-z'
9 declare: usage: declare [-afFrxi] [-p] name[=value] ...
10 ./errors.tests: declare: `-z': not a valid identifier
11 ./errors.tests: declare: `/bin/sh': not a valid identifier
12 ./errors.tests: declare: cannot use `-f' to make functions
13 ./errors.tests: export: XPATH: not a function
14 ./errors.tests: break: only meaningful in a `for', `while', or `until' loop
15 ./errors.tests: continue: only meaningful in a `for', `while', or `until' loop
16 ./errors.tests: shift: bad non-numeric arg `label'
17 ./errors.tests: shift: too many arguments
18 ./errors.tests: let: expression expected
19 ./errors.tests: local: can only be used in a function
20 ./errors.tests: hash: notthere: not found
21 ./errors.tests: hash: hashing disabled
22 ./errors.tests: export: `AA[4]': not a valid identifier
23 ./errors.tests: readonly: `AA[4]': not a valid identifier
24 ./errors.tests: [-2]: bad array subscript
25 ./errors.tests: AA: readonly variable
26 ./errors.tests: shift: shift count must be <= $#
27 ./errors.tests: shift: shift count must be >= 0
28 ./errors.tests: shopt: no_such_option: unknown shell option name
29 ./errors.tests: shopt: no_such_option: unknown shell option name
30 ./errors.tests: umask: `09' is not an octal number from 000 to 777
31 ./errors.tests: umask: bad character in symbolic mode: :
32 ./errors.tests: umask: bad symbolic mode operator: :
33 ./errors.tests: umask: illegal option: -p
34 umask: usage: umask [-S] [mode]
35 ./errors.tests: VAR: readonly variable
36 ./errors.tests: declare: VAR: readonly variable
37 ./errors.tests: declare: VAR: readonly variable
38 ./errors.tests: declare: unset: not found
39 ./errors.tests: VAR: readonly variable
40 ./errors.tests: command substitution: line 2: syntax error: unexpected end of file
41 ./errors.tests: command substitution: line 1: syntax error near unexpected token `done'
42 ./errors.tests: command substitution: line 1: ` for z in 1 2 3; done '
43 ./errors.tests: cd: HOME not set
44 ./errors.tests: cd: OLDPWD not set
45 ./errors.tests: .: filename argument required
46 .: usage: . filename
47 ./errors.tests: source: filename argument required
48 source: usage: source filename
49 ./errors.tests: .: illegal option: -i
50 .: usage: . filename
51 ./errors.tests: set: unknown option: q
52 ./errors.tests: enable: sh: not a shell builtin
53 ./errors.tests: enable: bash: not a shell builtin
54 ./errors.tests: shopt: cannot set and unset shell options simultaneously
55 ./errors.tests: read: `/bin/sh': not a valid identifier
56 ./errors.tests: VAR: readonly variable
57 ./errors.tests: eval: illegal option: -i
58 eval: usage: eval [arg ...]
59 ./errors.tests: command: illegal option: -i
60 command: usage: command [-pVv] command [arg ...]
61 ./errors.tests: trap: NOSIG: not a signal specification
62 ./errors.tests: trap: illegal option: -s
63 trap: usage: trap [arg] [signal_spec ...] or trap -l
64 ./errors.tests: trap: ERR: not a signal specification
65 ./errors.tests: return: can only `return' from a function or sourced script
66 ./errors.tests: break: loop count must be > 0
67 ./errors.tests: continue: loop count must be > 0
68 ./errors.tests: builtin: bash: not a shell builtin
69 ./errors.tests: bg: no job control
70 ./errors.tests: fg: no job control
71 ./errors.tests: kill: -s requires an argument
72 ./errors.tests: kill: bad signal spec `S'
73 ./errors.tests: `!!': not a valid identifier