summaryrefslogtreecommitdiff
path: root/unit-tests/moderrs.exp
blob: f017cae4633aad9ea3b4b470adc09095d2ae47e8 (plain) (blame)
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
Expect: Unknown modifier 'Z'
make: Unknown modifier 'Z'
VAR:Z=
Expect: Unknown modifier 'Z'
make: Unknown modifier 'Z'
VAR:Z=
Expect: Unclosed variable specification for VAR
make: Unclosed variable specification (expecting '}') for "VAR" (value "Thevariable") modifier S
VAR:S,V,v,=Thevariable
Expect: Unclosed variable specification for VAR
make: Unclosed variable specification after complex modifier (expecting '}') for VAR
VAR:S,V,v,=Thevariable
Expect: Unfinished modifier for VAR (',' missing)
make: Unfinished modifier for VAR (',' missing)
VAR:S,V,v=
Expect: 2 errors about missing @ delimiter
make: Unfinished modifier for UNDEF ('@' missing)

make: Unfinished modifier for UNDEF ('@' missing)

1 2 3
modloop-close:
make: Unclosed variable specification (expecting '}') for "UNDEF" (value "1}... 2}... 3}...") modifier @
1}... 2}... 3}...
1}... 2}... 3}...
Expect: 2 errors about missing ] delimiter
make: Unfinished modifier for UNDEF (']' missing)

make: Unfinished modifier for UNDEF (']' missing)

13=
12345=ok
Expect: 2 errors about missing ! delimiter
make: Unfinished modifier for VARNAME ('!' missing)

make: Unfinished modifier for ! ('!' missing)

mod-subst-delimiter:
make: Missing delimiter for :S modifier

make: Unfinished modifier for VAR (',' missing)

make: Unfinished modifier for VAR (',' missing)

make: Unfinished modifier for VAR (',' missing)

make: Unfinished modifier for VAR (',' missing)

make: Unclosed variable specification (expecting '}') for "VAR" (value "TheVariable") modifier S
TheVariable
TheVariable
make: Missing delimiter for :S modifier
1:
make: Unfinished modifier for VAR (',' missing)
2:
make: Unfinished modifier for VAR (',' missing)
3:
make: Unfinished modifier for VAR (',' missing)

make: Unfinished modifier for VAR (',' missing)

make: Unclosed variable specification (expecting '}') for "VAR" (value "TheVariable") modifier S
TheVariable
TheVariable
mod-regex-delimiter:
make: Missing delimiter for :C modifier

make: Unfinished modifier for VAR (',' missing)

make: Unfinished modifier for VAR (',' missing)

make: Unfinished modifier for VAR (',' missing)

make: Unfinished modifier for VAR (',' missing)

make: Unclosed variable specification (expecting '}') for "VAR" (value "TheVariable") modifier C
TheVariable
TheVariable
make: Missing delimiter for :C modifier
1:
make: Unfinished modifier for VAR (',' missing)
2:
make: Unfinished modifier for VAR (',' missing)
3:
make: Unfinished modifier for VAR (',' missing)

make: Unfinished modifier for VAR (',' missing)

make: Unclosed variable specification (expecting '}') for "VAR" (value "TheVariable") modifier C
TheVariable
TheVariable
mod-regex-undefined-subexpression:
one one 2 3 5 8 one3 2one 34
make: No match for subexpression \2
make: No match for subexpression \2
make: No match for subexpression \1
make: No match for subexpression \2
make: No match for subexpression \1
()+() ()+() ()+() 3 5 8 (3)+() ()+(1) 34
mod-ts-parse:
112358132134
15152535558513521534
make: Bad modifier `:ts\65oct' for FIB
65oct}
make: Bad modifier `:tsxy' for FIB
xy}
mod-t-parse:
make: Bad modifier `:t' for FIB

make: Bad modifier `:txy' for FIB
y}
make: Bad modifier `:t' for FIB

make: Bad modifier `:t' for FIB
M*}
mod-ifelse-parse:
make: Unfinished modifier for FIB (':' missing)

make: Unfinished modifier for FIB (':' missing)

make: Unfinished modifier for FIB ('}' missing)

make: Unfinished modifier for FIB ('}' missing)

then
mod-remember-parse:
1 1 2 3 5 8 13 21 34
make: Unknown modifier '_'

mod-sysv-parse:
make: Unknown modifier '3'
make: Unclosed variable specification (expecting '}') for "FIB" (value "") modifier 3

make: Unknown modifier '3'
make: Unclosed variable specification (expecting '}') for "FIB" (value "") modifier 3

make: Unknown modifier '3'
make: Unclosed variable specification (expecting '}') for "FIB" (value "") modifier 3

1 1 2 x3 5 8 1x3 21 34
exit status 0