projects
/
gnulib.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
copy-acl: enhance Solaris ACL error handling
[gnulib.git]
/
tests
/
uniwidth
/
test-uc_width2.sh
1
#!/bin/sh
2
3
tmpfiles=""
4
trap 'rm -fr $tmpfiles' 1 2 3 15
5
6
tmpfiles="$tmpfiles uc_width.out"
7
./test-uc_width2${EXEEXT} | LC_ALL=C tr -d '\r' > uc_width.out
8
9
tmpfiles="$tmpfiles uc_width.ok"
10
cat > uc_width.ok <<\EOF
11
0000 0
12
0020..007E 1
13
00A0 1
14
00A1..00AC A
15
00AD 0
16
00AE..02FF A
17
0300..036F 0
18
0370..0482 A
19
0483..0489 0
20
048A..0590 A
21
0591..05BD 0
22
05BE A
23
05BF 0
24
05C0 A
25
05C1..05C2 0
26
05C3 A
27
05C4..05C5 0
28
05C6 A
29
05C7 0
30
05C8..05FF A
31
0600..0603 0
32
0604..060F A
33
0610..061A 0
34
061B..064A A
35
064B..065E 0
36
065F..066F A
37
0670 0
38
0671..06D5 A
39
06D6..06E4 0
40
06E5..06E6 A
41
06E7..06E8 0
42
06E9 A
43
06EA..06ED 0
44
06EE..070E A
45
070F 0
46
0710 A
47
0711 0
48
0712..072F A
49
0730..074A 0
50
074B..07A5 A
51
07A6..07B0 0
52
07B1..07EA A
53
07EB..07F3 0
54
07F4..0900 A
55
0901..0902 0
56
0903..093B A
57
093C 0
58
093D..0940 A
59
0941..0948 0
60
0949..094C A
61
094D 0
62
094E..0950 A
63
0951..0954 0
64
0955..0961 A
65
0962..0963 0
66
0964..0980 A
67
0981 0
68
0982..09BB A
69
09BC 0
70
09BD..09C0 A
71
09C1..09C4 0
72
09C5..09CC A
73
09CD 0
74
09CE..09E1 A
75
09E2..09E3 0
76
09E4..0A00 A
77
0A01..0A02 0
78
0A03..0A3B A
79
0A3C 0
80
0A3D..0A40 A
81
0A41..0A42 0
82
0A43..0A46 A
83
0A47..0A48 0
84
0A49..0A4A A
85
0A4B..0A4D 0
86
0A4E..0A50 A
87
0A51 0
88
0A52..0A6F A
89
0A70..0A71 0
90
0A72..0A74 A
91
0A75 0
92
0A76..0A80 A
93
0A81..0A82 0
94
0A83..0ABB A
95
0ABC 0
96
0ABD..0AC0 A
97
0AC1..0AC5 0
98
0AC6 A
99
0AC7..0AC8 0
100
0AC9..0ACC A
101
0ACD 0
102
0ACE..0AE1 A
103
0AE2..0AE3 0
104
0AE4..0B00 A
105
0B01 0
106
0B02..0B3B A
107
0B3C 0
108
0B3D..0B3E A
109
0B3F 0
110
0B40 A
111
0B41..0B44 0
112
0B45..0B4C A
113
0B4D 0
114
0B4E..0B55 A
115
0B56 0
116
0B57..0B61 A
117
0B62..0B63 0
118
0B64..0B81 A
119
0B82 0
120
0B83..0BBF A
121
0BC0 0
122
0BC1..0BCC A
123
0BCD 0
124
0BCE..0C3D A
125
0C3E..0C40 0
126
0C41..0C45 A
127
0C46..0C48 0
128
0C49 A
129
0C4A..0C4D 0
130
0C4E..0C54 A
131
0C55..0C56 0
132
0C57..0C61 A
133
0C62..0C63 0
134
0C64..0CBB A
135
0CBC 0
136
0CBD..0CCB A
137
0CCC..0CCD 0
138
0CCE..0CE1 A
139
0CE2..0CE3 0
140
0CE4..0D40 A
141
0D41..0D44 0
142
0D45..0D4C A
143
0D4D 0
144
0D4E..0D61 A
145
0D62..0D63 0
146
0D64..0DC9 A
147
0DCA 0
148
0DCB..0DD1 A
149
0DD2..0DD4 0
150
0DD5 A
151
0DD6 0
152
0DD7..0E30 A
153
0E31 0
154
0E32..0E33 A
155
0E34..0E3A 0
156
0E3B..0E46 A
157
0E47..0E4E 0
158
0E4F..0EB0 A
159
0EB1 0
160
0EB2..0EB3 A
161
0EB4..0EB9 0
162
0EBA A
163
0EBB..0EBC 0
164
0EBD..0EC7 A
165
0EC8..0ECD 0
166
0ECE..0F17 A
167
0F18..0F19 0
168
0F1A..0F34 A
169
0F35 0
170
0F36 A
171
0F37 0
172
0F38 A
173
0F39 0
174
0F3A..0F70 A
175
0F71..0F7E 0
176
0F7F A
177
0F80..0F84 0
178
0F85 A
179
0F86..0F87 0
180
0F88..0F8F A
181
0F90..0F97 0
182
0F98 A
183
0F99..0FBC 0
184
0FBD..0FC5 A
185
0FC6 0
186
0FC7..102C A
187
102D..1030 0
188
1031 A
189
1032..1037 0
190
1038 A
191
1039..103A 0
192
103B..103C A
193
103D..103E 0
194
103F..1057 A
195
1058..1059 0
196
105A..105D A
197
105E..1060 0
198
1061..1070 A
199
1071..1074 0
200
1075..1081 A
201
1082 0
202
1083..1084 A
203
1085..1086 0
204
1087..108C A
205
108D 0
206
108E..10FF A
207
1100..115F 2
208
1160..135E A
209
135F 0
210
1360..1711 A
211
1712..1714 0
212
1715..1731 A
213
1732..1734 0
214
1735..1751 A
215
1752..1753 0
216
1754..1771 A
217
1772..1773 0
218
1774..17B3 A
219
17B4..17B5 0
220
17B6 A
221
17B7..17BD 0
222
17BE..17C5 A
223
17C6 0
224
17C7..17C8 A
225
17C9..17D3 0
226
17D4..17DC A
227
17DD 0
228
17DE..180A A
229
180B..180D 0
230
180E..18A8 A
231
18A9 0
232
18AA..191F A
233
1920..1922 0
234
1923..1926 A
235
1927..1928 0
236
1929..1931 A
237
1932 0
238
1933..1938 A
239
1939..193B 0
240
193C..1A16 A
241
1A17..1A18 0
242
1A19..1AFF A
243
1B00..1B03 0
244
1B04..1B33 A
245
1B34 0
246
1B35 A
247
1B36..1B3A 0
248
1B3B A
249
1B3C 0
250
1B3D..1B41 A
251
1B42 0
252
1B43..1B6A A
253
1B6B..1B73 0
254
1B74..1B7F A
255
1B80..1B81 0
256
1B82..1BA1 A
257
1BA2..1BA5 0
258
1BA6..1BA7 A
259
1BA8..1BA9 0
260
1BAA..1C2B A
261
1C2C..1C33 0
262
1C34..1C35 A
263
1C36..1C37 0
264
1C38..1DBF A
265
1DC0..1DE6 0
266
1DE7..1DFD A
267
1DFE..1DFF 0
268
1E00..200A A
269
200B..200F 0
270
2010..2029 A
271
202A..202E 0
272
202F..205F A
273
2060..2064 0
274
2065..2069 A
275
206A..206F 0
276
2070..20A8 A
277
20A9 1
278
20AA..20CF A
279
20D0..20F0 0
280
20F1..2328 A
281
2329..232A 2
282
232B..2DDF A
283
2DE0..2DFF 0
284
2E00..2E7F A
285
2E80..3029 2
286
302A..302F 0
287
3030..303E 2
288
303F A
289
3040..3098 2
290
3099..309A 0
291
309B..4DBF 2
292
4DC0..4DFF A
293
4E00..A4CF 2
294
A4D0..A66E A
295
A66F..A672 0
296
A673..A67B A
297
A67C..A67D 0
298
A67E..A801 A
299
A802 0
300
A803..A805 A
301
A806 0
302
A807..A80A A
303
A80B 0
304
A80C..A824 A
305
A825..A826 0
306
A827..A8C3 A
307
A8C4 0
308
A8C5..A925 A
309
A926..A92D 0
310
A92E..A946 A
311
A947..A951 0
312
A952..AA28 A
313
AA29..AA2E 0
314
AA2F..AA30 A
315
AA31..AA32 0
316
AA33..AA34 A
317
AA35..AA36 0
318
AA37..AA42 A
319
AA43 0
320
AA44..AA4B A
321
AA4C 0
322
AA4D..ABFF A
323
AC00..D7A3 2
324
D7A4..F8FF A
325
F900..FAFF 2
326
FB00..FB1D A
327
FB1E 0
328
FB1F..FDFF A
329
FE00..FE0F 0
330
FE10..FE1F 2
331
FE20..FE26 0
332
FE27..FE2F A
333
FE30..FE6F 2
334
FE70..FEFE A
335
FEFF 0
336
FF00..FF60 2
337
FF61..FFDF 1
338
FFE0..FFE6 2
339
FFE7..FFF8 1
340
FFF9..FFFB 0
341
FFFC..101FC 1
342
101FD 0
343
101FE..10A00 1
344
10A01..10A03 0
345
10A04 1
346
10A05..10A06 0
347
10A07..10A0B 1
348
10A0C..10A0F 0
349
10A10..10A37 1
350
10A38..10A3A 0
351
10A3B..10A3E 1
352
10A3F 0
353
10A40..1D166 1
354
1D167..1D169 0
355
1D16A..1D17A 1
356
1D17B..1D182 0
357
1D183..1D184 1
358
1D185..1D18B 0
359
1D18C..1D1A9 1
360
1D1AA..1D1AD 0
361
1D1AE..1D241 1
362
1D242..1D244 0
363
1D245..1FFFF 1
364
20000..2A6D6 2
365
2A6D7..2F7FF 1
366
2F800..2FA1D 2
367
2FA1E..E0000 1
368
E0001 0
369
E0002..E001F 1
370
E0020..E007F 0
371
E0080..E00FF 1
372
E0100..E01EF 0
373
E01F0..10FFFF 1
374
EOF
375
376
: ${DIFF=diff}
377
${DIFF} uc_width.ok uc_width.out
378
result=$?
379
380
rm -fr $tmpfiles
381
382
exit $result