Debian Codegraph @

texk/web2c/mfluadir/mfluatrap/mfluatrap.diffs

raw
1 #! /bin/sh -vx
2 # Copyright 2017 Karl Berry <[email protected]>
3 # Copyright 2015 Peter Breitenlohner <[email protected]>
4 # You may freely use, modify and/or distribute this file.
5
6 testdir=$abs_srcdir/triptrap
7 + testdir=SRCDIR/triptrap
8 ltestdir=$abs_srcdir/mfluadir/mfluatrap
9 + ltestdir=SRCDIR/mfluadir/mfluatrap
10
11 TEXMFCNF=$ltestdir
12 + TEXMFCNF=SRCDIR/mfluadir/mfluatrap
13 LUAINPUTS=$ltestdir
14 + LUAINPUTS=SRCDIR/mfluadir/mfluatrap
15 export TEXMFCNF LUAINPUTS
16 + export TEXMFCNF LUAINPUTS
17
18 rm -rf mfluatrapdir
19 + rm -rf mfluatrapdir
20 mkdir mfluatrapdir
21 + mkdir mfluatrapdir
22 cd mfluatrapdir
23 + cd mfluatrapdir
24
25 echo ">>> Running TRAP test for MFLua." >&2
26 + echo '>>> Running TRAP test for MFLua.'
27 >>> Running TRAP test for MFLua.
28 echo ">>> See $ltestdir/mfluatrap.diffs for example of acceptable diffs." >&2
29 + echo '>>> See SRCDIR/mfluadir/mfluatrap/mfluatrap.diffs for example of acceptable diffs.'
30 >>> See SRCDIR/mfluadir/mfluatrap/mfluatrap.diffs for example of acceptable diffs.
31
32 is_OK=:
33 + is_OK=:
34
35 set -x
36 + set -x
37
38 # get same filename in log
39 $LN_S $testdir/trap.mf .
40 + ln -s SRCDIR/triptrap/trap.mf .
41
42 ./mflua --progname=inimflua <$testdir/mftrap1.in >mftrapin.fot
43 + ./mflua --progname=inimflua
44 if test ! -s trap.base; then
45 echo "*** trap.base not created by mftrap1.in, investigate!" >&2
46 exit 1
47 fi
48 + test '!' -s trap.base
49 mv trap.log mftrapin.log || exit 1
50 + mv trap.log mftrapin.log
51 diff $testdir/mftrapin.log mftrapin.log
52 + diff SRCDIR/triptrap/mftrapin.log mftrapin.log
53 1c1
54 < This is METAFONT, Version 2.71828182 (INIMF) 4 JUL 1776 12:00
55 ---
56 > This is MFLua, Version 2.71828182-1.0.0-alpha (INIMF) 27 JAN 2021 18:03
57 150c150
58 < String usage 26&83 (892&11481 still untouched)
59 ---
60 > String usage 30&98 (1047458&9979376 still untouched)
61 176,177c176,177
62 < (preloaded base=trap 1776.7.4)
63 < 1116 strings of total length 20570
64 ---
65 > (preloaded base=trap 2021.1.27)
66 > 1125 strings of total length 20685
67 179c179
68 < 265 symbolic tokens
69 ---
70 > 266 symbolic tokens
71
72 ./mflua --progname=inimflua <$testdir/mftrap2.in >mftrap.fot
73 + ./mflua --progname=inimflua
74 mv trap.log mftrap.log || exit 1
75 + mv trap.log mftrap.log
76 mv trap.tfm mftrap.tfm || exit 1
77 + mv trap.tfm mftrap.tfm
78 diff $testdir/mftrap.fot mftrap.fot
79 + diff SRCDIR/triptrap/mftrap.fot mftrap.fot
80 1,3c1,4
81 < This is METAFONT, Version 2.71828182 (INIMF)
82 < ** &trap trap
83 < (trap.mf
84 ---
85 > MFLua version: 1.0.0-alpha
86 > MFLua banner: This is MFLua, Version 2.71828182-1.0.0-alpha
87 > This is MFLua, Version 2.71828182-1.0.0-alpha (TeX Live 2021/dev) (INIMF)
88 > **(trap.mf
89 22a24,99
90 >
91 > Warning: print_scale called with nil argument.
92 >
93 > Warning: print_scale called with nil argument.
94 >
95 > Warning: print_scale called with nil argument.
96 >
97 > Warning: print_scale called with nil argument.
98 >
99 > Warning: print_scale called with nil argument.
100 >
101 > Warning: print_scale called with nil argument.
102 >
103 > Warning: print_scale called with nil argument.
104 >
105 > Warning: print_scale called with nil argument.
106 >
107 > Warning: print_scale called with nil argument.
108 >
109 > Warning: print_scale called with nil argument.
110 >
111 > Warning: print_scale called with nil argument.
112 >
113 > Warning: print_scale called with nil argument.
114 >
115 > Warning: print_scale called with nil argument.
116 >
117 > Warning: print_scale called with nil argument.
118 >
119 > Warning: print_scale called with nil argument.
120 >
121 > Warning: print_scale called with nil argument.
122 >
123 > Warning: print_scale called with nil argument.
124 >
125 > Warning: print_scale called with nil argument.
126 >
127 > Warning: print_scale called with nil argument.
128 >
129 > Warning: print_scale called with nil argument.
130 >
131 > Warning: print_scale called with nil argument.
132 >
133 > Warning: print_scale called with nil argument.
134 >
135 > Warning: print_scale called with nil argument.
136 >
137 > Warning: print_scale called with nil argument.
138 >
139 > Warning: print_scale called with nil argument.
140 >
141 > Warning: print_scale called with nil argument.
142 >
143 > Warning: print_scale called with nil argument.
144 >
145 > Warning: print_scale called with nil argument.
146 >
147 > Warning: print_scale called with nil argument.
148 >
149 > Warning: print_scale called with nil argument.
150 >
151 > Warning: print_scale called with nil argument.
152 >
153 > Warning: print_scale called with nil argument.
154 >
155 > Warning: print_scale called with nil argument.
156 >
157 > Warning: print_scale called with nil argument.
158 >
159 > Warning: print_scale called with nil argument.
160 >
161 > Warning: print_scale called with nil argument.
162 >
163 > Warning: print_scale called with nil argument.
164 >
165 > Warning: print_scale called with nil argument.
166 27a105,136
167 > Warning: print_scale called with nil argument.
168 >
169 > Warning: print_scale called with nil argument.
170 >
171 > Warning: print_scale called with nil argument.
172 >
173 > Warning: print_scale called with nil argument.
174 >
175 > Warning: print_scale called with nil argument.
176 >
177 > Warning: print_scale called with nil argument.
178 >
179 > Warning: print_scale called with nil argument.
180 >
181 > Warning: print_scale called with nil argument.
182 >
183 > Warning: print_scale called with nil argument.
184 >
185 > Warning: print_scale called with nil argument.
186 >
187 > Warning: print_scale called with nil argument.
188 >
189 > Warning: print_scale called with nil argument.
190 >
191 > Warning: print_scale called with nil argument.
192 >
193 > Warning: print_scale called with nil argument.
194 >
195 > Warning: print_scale called with nil argument.
196 >
197 > Warning: print_scale called with nil argument.
198 >
199 39c148
200 < String usage 41&161 (816&7678 still untouched)
201 ---
202 > String usage 50&202 (1047372&9975522 still untouched)
203 59a169
204 > Warning: end_program.lua not found
205 diff $testdir/mftrap.log mftrap.log
206 + diff SRCDIR/triptrap/mftrap.log mftrap.log
207 1c1
208 < This is METAFONT, Version 2.71828182 (preloaded base=trap 1776.7.4) 4 JUL 1776 12:00
209 ---
210 > This is MFLua, Version 2.71828182-1.0.0-alpha (preloaded base=trap 2021.1.27) 27 JAN 2021 18:03
211 133,134c133,134
212 < <scantokens> pair
213 < p[],';^^ff
214 ---
215 > <scantokens> or <runscript> pair
216 > p[],';^^ff
217 145,146c145,146
218 < <scantokens> pair
219 < p[],';^^ff
220 ---
221 > <scantokens> or <runscript> pair
222 > p[],';^^ff
223 158,159c158,159
224 < <scantokens> pair
225 < p[],';^^ff
226 ---
227 > <scantokens> or <runscript> pair
228 > p[],';^^ff
229 169,170c169,170
230 < <scantokens> pair p[],';^^ff
231 <
232 ---
233 > <scantokens> or <runscript> ...f
234 >
235 1825c1825
236 < String usage 24&92 (859&11353 still untouched)
237 ---
238 > String usage 30&119 (1047418&9979190 still untouched)
239 4235c4235
240 < String usage 41&161 (816&7678 still untouched)
241 ---
242 > String usage 50&202 (1047372&9975522 still untouched)
243 4251,4252c4251,4252
244 < 68 strings out of 884
245 < 3752 string characters out of 11430
246 ---
247 > 77 strings out of 1047449
248 > 3793 string characters out of 9979315
249 4254,4255c4254,4255
250 < 289 symbolic tokens out of 2100
251 < 8i,43n,14r,8p,167b stack positions out of 30i,100n,300r,150p,500b
252 ---
253 > 290 symbolic tokens out of 9500
254 > 8i,43n,14r,8p,167b stack positions out of 300i,300n,1000r,150p,3000b
255 4263c4263
256 < out of 256w,16h,16d,64i,5000l,500k,256e,50p)
257 ---
258 > out of 256w,16h,16d,64i,15000l,2500k,256e,60p)
259
260 ./tftopl ./mftrap.tfm mftrap.pl || exit 1
261 + ./tftopl ./mftrap.tfm mftrap.pl
262 diff $testdir/mftrap.pl mftrap.pl || is_OK=false
263 + diff SRCDIR/triptrap/mftrap.pl mftrap.pl
264
265 ./gftype -m -i ./trap.72270gf >trap.typ || exit 1
266 + ./gftype -m -i ./trap.72270gf
267 diff $testdir/trap.typ trap.typ
268 + diff SRCDIR/triptrap/trap.typ trap.typ
269 1c1
270 < This is GFtype, Version 3.1
271 ---
272 > This is GFtype, Version 3.1 (TeX Live 2021/dev)
273 3c3
274 < ' METAFONT output 2014.01.07:1811'
275 ---
276 > ' METAFONT output 2021.01.27:1803'
277
278 $is_OK || {
279 echo ">>> There were some errors." >&2
280 exit 1
281 }
282 + :
283
284 PASS mfluadir/mfluatraptest.test (exit status: 0)
285 PASS: mfluadir/mfluatraptest.test