summaryrefslogtreecommitdiff
path: root/tests/errors.right
blob: 41da642b1a389d81b3797940e0535b44ab83a217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
./errors.tests: `1': not a valid identifier
declare -fr func
./errors.tests: func: readonly function
./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: 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: 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: hash: notthere: not found
./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: 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: -p
umask: usage: umask [-S] [mode]
./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: 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: OLDPWD not set
./errors.tests: .: filename argument required
.: usage: . filename
./errors.tests: source: filename argument required
source: usage: source filename
./errors.tests: .: illegal option: -i
.: 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: `/bin/sh': not a valid identifier
./errors.tests: VAR: readonly variable
./errors.tests: eval: illegal option: -i
eval: usage: eval [arg ...]
./errors.tests: command: illegal option: -i
command: usage: command [-pVv] command [arg ...]
./errors.tests: trap: NOSIG: not a signal specification
./errors.tests: trap: illegal option: -s
trap: usage: trap [arg] [signal_spec ...] or trap -l
./errors.tests: trap: ERR: not a signal specification
./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: `!!': not a valid identifier