| 1 |
#! /bin/sh -vx |
| 2 |
# $Id: etriptest.test 45809 2017-11-15 00:36:56Z karl $ |
| 3 |
# Copyright 2017 Karl Berry <[email protected]> |
| 4 |
# Copyright 2009-2014 Peter Breitenlohner <[email protected]> |
| 5 |
# You may freely use, modify and/or distribute this file. |
| 6 |
|
| 7 |
testdir=$abs_srcdir/triptrap |
| 8 |
+ testdir=SRCDIR/triptrap |
| 9 |
etestdir=$abs_srcdir/etexdir/etrip |
| 10 |
+ etestdir=SRCDIR/etexdir/etrip |
| 11 |
|
| 12 |
TEXMFCNF=$etestdir; export TEXMFCNF |
| 13 |
+ TEXMFCNF=SRCDIR/etexdir/etrip |
| 14 |
+ export TEXMFCNF |
| 15 |
|
| 16 |
rm -rf etripdir |
| 17 |
+ rm -rf etripdir |
| 18 |
mkdir etripdir |
| 19 |
+ mkdir etripdir |
| 20 |
cd etripdir |
| 21 |
+ cd etripdir |
| 22 |
|
| 23 |
dvitype_args="-output-level=2 -dpi=72.27 -page-start='*.*.*.*.*.*.*.*.*.*'" |
| 24 |
+ dvitype_args='-output-level=2 -dpi=72.27 -page-start='\''*.*.*.*.*.*.*.*.*.*'\''' |
| 25 |
|
| 26 |
echo ">>> Running e-TRIP test for e-TeX." >&2 |
| 27 |
+ echo '>>> Running e-TRIP test for e-TeX.' |
| 28 |
>>> Running e-TRIP test for e-TeX. |
| 29 |
echo ">>> See $etestdir/etrip.diffs for example of acceptable diffs." >&2 |
| 30 |
+ echo '>>> See SRCDIR/etexdir/etrip/etrip.diffs for example of acceptable diffs.' |
| 31 |
>>> See SRCDIR/etexdir/etrip/etrip.diffs for example of acceptable diffs. |
| 32 |
|
| 33 |
is_OK=: |
| 34 |
+ is_OK=: |
| 35 |
|
| 36 |
set -x |
| 37 |
+ set -x |
| 38 |
|
| 39 |
echo "*** TRIP test for e-TeX in compatibility mode ***." |
| 40 |
+ echo '*** TRIP test for e-TeX in compatibility mode ***.' |
| 41 |
*** TRIP test for e-TeX in compatibility mode ***. |
| 42 |
|
| 43 |
./pltotf $testdir/trip.pl trip.tfm || exit 1 |
| 44 |
+ ./pltotf SRCDIR/triptrap/trip.pl trip.tfm |
| 45 |
|
| 46 |
./tftopl ./trip.tfm trip.pl || exit 1 |
| 47 |
+ ./tftopl ./trip.tfm trip.pl |
| 48 |
|
| 49 |
diff $testdir/trip.pl trip.pl || is_OK=false |
| 50 |
+ diff SRCDIR/triptrap/trip.pl trip.pl |
| 51 |
|
| 52 |
# get same filename in log |
| 53 |
$LN_S $testdir/trip.tex . |
| 54 |
+ ln -s SRCDIR/triptrap/trip.tex . |
| 55 |
|
| 56 |
./etex --progname=einitex --ini <$testdir/trip1.in >ctripin.fot |
| 57 |
+ ./etex --progname=einitex --ini |
| 58 |
if test ! -s trip.fmt; then |
| 59 |
echo "*** trip.fmt not created by trip1.in, investigate!" >&2 |
| 60 |
exit 1 |
| 61 |
fi |
| 62 |
+ test '!' -s trip.fmt |
| 63 |
mv trip.log ctripin.log || exit 1 |
| 64 |
+ mv trip.log ctripin.log |
| 65 |
diff $testdir/tripin.log ctripin.log |
| 66 |
+ diff SRCDIR/triptrap/tripin.log ctripin.log |
| 67 |
1c1 |
| 68 |
< This is TeX, Version 3.141592653 (INITEX) 4 JUL 1776 12:00 |
| 69 |
--- |
| 70 |
> This is e-TeX, Version 3.141592653-2.6 (TeX Live 2021/dev) (INITEX) 27 JAN 2021 18:01 |
| 71 |
3c3 |
| 72 |
< (trip.tex |
| 73 |
--- |
| 74 |
> (./trip.tex |
| 75 |
450,453c450,453 |
| 76 |
< (preloaded format=trip 1776.7.4) |
| 77 |
< 1326 strings of total length 23633 |
| 78 |
< 471 memory locations dumped; current usage is 96&278 |
| 79 |
< 341 multiletter control sequences |
| 80 |
--- |
| 81 |
> (preloaded format=trip 2021.1.27) |
| 82 |
> 1491 strings of total length 26266 |
| 83 |
> 479 memory locations dumped; current usage is 104&278 |
| 84 |
> 342 multiletter control sequences |
| 85 |
461c461 |
| 86 |
< Hyphenation trie of length 273 has 9 ops out of 500 |
| 87 |
--- |
| 88 |
> Hyphenation trie of length 273 has 9 ops out of 35111 |
| 89 |
|
| 90 |
# May as well test non-ini second time through. |
| 91 |
./etex --progname=etex <$testdir/trip2.in >ctrip.fot |
| 92 |
+ ./etex --progname=etex |
| 93 |
mv trip.log ctrip.log |
| 94 |
+ mv trip.log ctrip.log |
| 95 |
diff $testdir/trip.fot ctrip.fot |
| 96 |
+ diff SRCDIR/triptrap/trip.fot ctrip.fot |
| 97 |
1,3c1,2 |
| 98 |
< This is TeX, Version 3.141592653 (INITEX) |
| 99 |
< ** &trip trip |
| 100 |
< (trip.tex ## |
| 101 |
--- |
| 102 |
> This is e-TeX, Version 3.141592653-2.6 (TeX Live 2021/dev) (preloaded format=etex) |
| 103 |
> **(./trip.tex ## |
| 104 |
17c16 |
| 105 |
< Memory usage before: 159&313; after: 102&278; still untouched: 1613 |
| 106 |
--- |
| 107 |
> Memory usage before: 185&313; after: 112&278; still untouched: 2612 |
| 108 |
75c74 |
| 109 |
< Memory usage before: 334&431; after: 292&418; still untouched: 175 |
| 110 |
--- |
| 111 |
> Memory usage before: 434&431; after: 376&418; still untouched: 178 |
| 112 |
|
| 113 |
# We use $DIFF instead of `diff' only for those files where there |
| 114 |
# might actually be legitimate numerical differences. |
| 115 |
$DIFF $DIFFFLAGS $testdir/trip.log ctrip.log |
| 116 |
+ diff SRCDIR/triptrap/trip.log ctrip.log |
| 117 |
1c1 |
| 118 |
< This is TeX, Version 3.141592653 (preloaded format=trip 1776.7.4) 4 JUL 1776 12:00 |
| 119 |
--- |
| 120 |
> This is e-TeX, Version 3.141592653-2.6 (TeX Live 2021/dev) (preloaded format=trip 2021.1.27) 27 JAN 2021 18:01 |
| 121 |
3c3 |
| 122 |
< (trip.tex ## |
| 123 |
--- |
| 124 |
> (./trip.tex ## |
| 125 |
73c73 |
| 126 |
< Memory usage before: 159&313; after: 102&278; still untouched: 1613 |
| 127 |
--- |
| 128 |
> Memory usage before: 185&313; after: 112&278; still untouched: 2612 |
| 129 |
642c642 |
| 130 |
< Memory usage before: 747&484; after: 581&481; still untouched: 1492 |
| 131 |
--- |
| 132 |
> Memory usage before: 1027&484; after: 795&481; still untouched: 1491 |
| 133 |
815c815 |
| 134 |
< Memory usage before: 475&470; after: 290&466; still untouched: 1473 |
| 135 |
--- |
| 136 |
> Memory usage before: 653&470; after: 384&466; still untouched: 1472 |
| 137 |
915c915 |
| 138 |
< Memory usage before: 218&459; after: 149&458; still untouched: 1473 |
| 139 |
--- |
| 140 |
> Memory usage before: 286&459; after: 181&458; still untouched: 1472 |
| 141 |
1070c1070 |
| 142 |
< Memory usage before: 118&328; after: 102&328; still untouched: 1473 |
| 143 |
--- |
| 144 |
> Memory usage before: 132&328; after: 110&328; still untouched: 1472 |
| 145 |
1405c1405 |
| 146 |
< \vbox(16383.99998+0.0)x1000.0, glue set 16342.0fil |
| 147 |
--- |
| 148 |
> \vbox(16383.99998+0.0)x1000.0, glue set 16341.99998fil |
| 149 |
1511c1511 |
| 150 |
< Memory usage before: 990&376; after: 584&370; still untouched: 735 |
| 151 |
--- |
| 152 |
> Memory usage before: 1396&376; after: 788&370; still untouched: 1472 |
| 153 |
1954c1954 |
| 154 |
< (tripos.tex |
| 155 |
--- |
| 156 |
> (./tripos.tex |
| 157 |
2018c2018 |
| 158 |
< \vbox(16383.99998+1.0)x100.0, glue set 16239.0fil |
| 159 |
--- |
| 160 |
> \vbox(16383.99998+1.0)x100.0, glue set 16238.99998fil |
| 161 |
2189c2189 |
| 162 |
< Memory usage before: 950&531; after: 546&448; still untouched: 706 |
| 163 |
--- |
| 164 |
> Memory usage before: 1400&531; after: 772&448; still untouched: 1443 |
| 165 |
2533c2533 |
| 166 |
< \vbox(16383.99998+0.0)x20.0, glue set 16331.0fil |
| 167 |
--- |
| 168 |
> \vbox(16383.99998+0.0)x20.0, glue set 16330.99998fil |
| 169 |
2575c2575 |
| 170 |
< Memory usage before: 339&413; after: 236&405; still untouched: 706 |
| 171 |
--- |
| 172 |
> Memory usage before: 455&413; after: 296&405; still untouched: 1443 |
| 173 |
3326c3326 |
| 174 |
< \vbox(10000.0+2.0)x28.0, glue set 9737.58789fil |
| 175 |
--- |
| 176 |
> \vbox(10000.0+2.0)x28.0, glue set 9737.58742fil |
| 177 |
3616c3616 |
| 178 |
< Memory usage before: 2170&521; after: 1181&459; still untouched: 175 |
| 179 |
--- |
| 180 |
> Memory usage before: 3016&521; after: 1607&459; still untouched: 178 |
| 181 |
3864c3864 |
| 182 |
< \vbox(16383.99998+2.0)x100.0, glue set 16318.0fil |
| 183 |
--- |
| 184 |
> \vbox(16383.99998+2.0)x100.0, glue set 16317.99997fil |
| 185 |
3951c3951 |
| 186 |
< Memory usage before: 640&415; after: 397&410; still untouched: 175 |
| 187 |
--- |
| 188 |
> Memory usage before: 888&415; after: 525&410; still untouched: 178 |
| 189 |
4034c4034 |
| 190 |
< \vbox(16383.99998+0.0)x8236.0, glue set 16344.0fil |
| 191 |
--- |
| 192 |
> \vbox(16383.99998+0.0)x8236.0, glue set 16343.99998fil |
| 193 |
4053c4053 |
| 194 |
< Memory usage before: 235&401; after: 178&399; still untouched: 175 |
| 195 |
--- |
| 196 |
> Memory usage before: 307&401; after: 218&399; still untouched: 178 |
| 197 |
4420c4420 |
| 198 |
< \vbox(16383.99998+0.0)x100.0, glue set 16332.0fil |
| 199 |
--- |
| 200 |
> \vbox(16383.99998+0.0)x100.0, glue set 16331.99998fil |
| 201 |
4506c4506 |
| 202 |
< Memory usage before: 651&432; after: 417&418; still untouched: 175 |
| 203 |
--- |
| 204 |
> Memory usage before: 941&432; after: 565&418; still untouched: 178 |
| 205 |
4742c4742 |
| 206 |
< \vbox(16383.99998+0.0)x205.12613, glue set 16344.0fil |
| 207 |
--- |
| 208 |
> \vbox(16383.99998+0.0)x205.12613, glue set 16343.99998fil |
| 209 |
4828c4828 |
| 210 |
< Memory usage before: 776&458; after: 464&452; still untouched: 175 |
| 211 |
--- |
| 212 |
> Memory usage before: 1098&458; after: 630&452; still untouched: 178 |
| 213 |
6381c6381 |
| 214 |
< (tripos.tex |
| 215 |
--- |
| 216 |
> (./tripos.tex |
| 217 |
6596c6596 |
| 218 |
< Memory usage before: 819&428; after: 720&426; still untouched: 175 |
| 219 |
--- |
| 220 |
> Memory usage before: 1155&428; after: 1016&426; still untouched: 178 |
| 221 |
7156c7156 |
| 222 |
< Memory usage before: 895&439; after: 290&420; still untouched: 175 |
| 223 |
--- |
| 224 |
> Memory usage before: 1269&439; after: 374&420; still untouched: 178 |
| 225 |
7289c7289 |
| 226 |
< Memory usage before: 334&431; after: 292&418; still untouched: 175 |
| 227 |
--- |
| 228 |
> Memory usage before: 434&431; after: 376&418; still untouched: 178 |
| 229 |
7297,7300c7297,7300 |
| 230 |
< 47 strings out of 1674 |
| 231 |
< 253 string characters out of 8367 |
| 232 |
< 2825 words of memory out of 3000 |
| 233 |
< 372 multiletter control sequences out of 2100 |
| 234 |
--- |
| 235 |
> 44 strings out of 1809 |
| 236 |
> 261 string characters out of 7734 |
| 237 |
> 3821 words of memory out of 3999 |
| 238 |
> 373 multiletter control sequences out of 15000+0 |
| 239 |
7302c7302 |
| 240 |
< 2 hyphenation exceptions out of 307 |
| 241 |
--- |
| 242 |
> 1 hyphenation exception out of 659 |
| 243 |
|
| 244 |
mv tripos.tex ctripos.tex |
| 245 |
+ mv tripos.tex ctripos.tex |
| 246 |
diff $testdir/tripos.tex ctripos.tex |
| 247 |
+ diff SRCDIR/triptrap/tripos.tex ctripos.tex |
| 248 |
|
| 249 |
eval ./dvitype $dvitype_args trip.dvi >ctrip.typ || exit 1 |
| 250 |
+ eval ./dvitype -output-level=2 -dpi=72.27 '-page-start='\''*.*.*.*.*.*.*.*.*.*'\''' trip.dvi |
| 251 |
./dvitype -output-level=2 -dpi=72.27 -page-start='*.*.*.*.*.*.*.*.*.*' trip.dvi |
| 252 |
++ ./dvitype -output-level=2 -dpi=72.27 '-page-start=*.*.*.*.*.*.*.*.*.*' trip.dvi |
| 253 |
$DIFF $DIFFFLAGS $testdir/trip.typ ctrip.typ |
| 254 |
+ diff SRCDIR/triptrap/trip.typ ctrip.typ |
| 255 |
1c1 |
| 256 |
< This is DVItype, Version 3.6 |
| 257 |
--- |
| 258 |
> This is DVItype, Version 3.6 (TeX Live 2021/dev) |
| 259 |
9c9 |
| 260 |
< ' TeX output 1776.07.04:1200' |
| 261 |
--- |
| 262 |
> ' TeX output 2021.01.27:1801' |
| 263 |
419c419 |
| 264 |
< 1121: down4 639342208 |
| 265 |
--- |
| 266 |
> 1121: down4 639342177 |
| 267 |
1087,1088c1087,1088 |
| 268 |
< 2535: y4 203921760 |
| 269 |
< 2540: y0 203921760 |
| 270 |
--- |
| 271 |
> 2535: y4 203921756 |
| 272 |
> 2540: y0 203921756 |
| 273 |
|
| 274 |
mv trip.fmt ctrip.fmt |
| 275 |
+ mv trip.fmt ctrip.fmt |
| 276 |
|
| 277 |
# ============================== |
| 278 |
|
| 279 |
echo "*** TRIP test for e-TeX in extended mode ***." |
| 280 |
+ echo '*** TRIP test for e-TeX in extended mode ***.' |
| 281 |
*** TRIP test for e-TeX in extended mode ***. |
| 282 |
|
| 283 |
./etex --progname=einitex --ini <$etestdir/etrip1.in >xtripin.fot |
| 284 |
+ ./etex --progname=einitex --ini |
| 285 |
if test ! -s trip.fmt; then |
| 286 |
echo "*** trip.fmt not created by etrip1.in, investigate!" >&2 |
| 287 |
exit 1 |
| 288 |
fi |
| 289 |
+ test '!' -s trip.fmt |
| 290 |
mv trip.log xtripin.log || exit 1 |
| 291 |
+ mv trip.log xtripin.log |
| 292 |
diff ctripin.log xtripin.log |
| 293 |
+ diff ctripin.log xtripin.log |
| 294 |
2c2,3 |
| 295 |
< **\input trip |
| 296 |
--- |
| 297 |
> entering extended mode |
| 298 |
> ***\input trip |
| 299 |
36,41d36 |
| 300 |
< ! Bad register code (256). |
| 301 |
< l.29 ...{1} \toksdef\tokens=256 |
| 302 |
< \show\errorstopmode |
| 303 |
< A register number must be between 0 and 255. |
| 304 |
< I changed this one to zero. |
| 305 |
< |
| 306 |
452,453c447,448 |
| 307 |
< 479 memory locations dumped; current usage is 104&278 |
| 308 |
< 342 multiletter control sequences |
| 309 |
--- |
| 310 |
> 517 memory locations dumped; current usage is 142&278 |
| 311 |
> 408 multiletter control sequences |
| 312 |
|
| 313 |
# May as well test non-ini second time through. |
| 314 |
./etex --progname=etex <$etestdir/trip2.in >xtrip.fot |
| 315 |
+ ./etex --progname=etex |
| 316 |
mv trip.log xtrip.log |
| 317 |
+ mv trip.log xtrip.log |
| 318 |
diff ctrip.fot xtrip.fot |
| 319 |
+ diff ctrip.fot xtrip.fot |
| 320 |
2c2,3 |
| 321 |
< **(./trip.tex ## |
| 322 |
--- |
| 323 |
> **entering extended mode |
| 324 |
> ## (./trip.tex |
| 325 |
16c17 |
| 326 |
< Memory usage before: 185&313; after: 112&278; still untouched: 2612 |
| 327 |
--- |
| 328 |
> Memory usage before: 185&313; after: 112&278; still untouched: 1612 |
| 329 |
76a78,80 |
| 330 |
> |
| 331 |
> ### semi simple group (level 1) entered at line 429 (begingroup) |
| 332 |
> ### bottom level |
| 333 |
|
| 334 |
# We use $DIFF instead of `diff' only for those files where there |
| 335 |
# might actually be legitimate numerical differences. |
| 336 |
$DIFF $DIFFFLAGS ctrip.log xtrip.log |
| 337 |
+ diff ctrip.log xtrip.log |
| 338 |
2,3c2,4 |
| 339 |
< ** &trip trip |
| 340 |
< (./trip.tex ## |
| 341 |
--- |
| 342 |
> entering extended mode |
| 343 |
> **&trip \toksdef\tokens=0 \input trip |
| 344 |
> (./trip.tex |
| 345 |
73c74 |
| 346 |
< Memory usage before: 185&313; after: 112&278; still untouched: 2612 |
| 347 |
--- |
| 348 |
> Memory usage before: 185&313; after: 112&278; still untouched: 1612 |
| 349 |
1769d1769 |
| 350 |
< {restoring \fam=-1} |
| 351 |
1779d1778 |
| 352 |
< {restoring \displayindent=0.0pt} |
| 353 |
1833d1831 |
| 354 |
< {restoring \fam=-1} |
| 355 |
2135c2133 |
| 356 |
< .\hbox(0.0+0.0)x0.0, shifted 50.0 |
| 357 |
--- |
| 358 |
> .\hbox(0.0+0.0)x0.0, shifted 50.0, display |
| 359 |
2138c2136 |
| 360 |
< .\hbox(0.0+0.0)x0.0, shifted 100.0 |
| 361 |
--- |
| 362 |
> .\hbox(0.0+0.0)x0.0, shifted 100.0, display |
| 363 |
2570c2568 |
| 364 |
< .\hbox(0.0+0.0)x15.0, glue set 0.1875, shifted 5.0 |
| 365 |
--- |
| 366 |
> .\hbox(0.0+0.0)x15.0, glue set 0.1875, shifted 5.0, display |
| 367 |
2835d2832 |
| 368 |
< {restoring current font=\ip} |
| 369 |
3223d3219 |
| 370 |
< {restoring \fam=-1} |
| 371 |
3372c3368 |
| 372 |
< .\hbox(68.26251+98.15005)x19.0, glue set - 1.0, shifted 9.0 |
| 373 |
--- |
| 374 |
> .\hbox(68.26251+98.15005)x19.0, glue set - 1.0, shifted 9.0, display |
| 375 |
3557c3553 |
| 376 |
< .\hbox(20.5+50.80002)x8.27895, shifted 19.72105 |
| 377 |
--- |
| 378 |
> .\hbox(20.5+50.80002)x8.27895, shifted 19.72105, display |
| 379 |
3766d3761 |
| 380 |
< {restoring \fam=-1} |
| 381 |
3839d3833 |
| 382 |
< {restoring \fam=-1} |
| 383 |
3895c3889 |
| 384 |
< ..\hbox(12.0+4.0)x8.1778 |
| 385 |
--- |
| 386 |
> ..\hbox(12.0+4.0)x8.1778, display |
| 387 |
3917c3911 |
| 388 |
< ..\hbox(0.0+13.00002)x-0.1778, glue set - 57.67767fil |
| 389 |
--- |
| 390 |
> ..\hbox(0.0+13.00002)x-0.1778, glue set - 57.67767fil, display |
| 391 |
3925c3919 |
| 392 |
< ....\hbox(7.0+1.0)x5.0, shifted 47.5 |
| 393 |
--- |
| 394 |
> ....\hbox(7.0+1.0)x5.0, shifted 47.5, display |
| 395 |
4011d4004 |
| 396 |
< {restoring \fam=-1} |
| 397 |
4047c4040 |
| 398 |
< .\hbox(0.0+0.0)x1009.0, shifted 7227.0 |
| 399 |
--- |
| 400 |
> .\hbox(0.0+0.0)x1009.0, shifted 7227.0, display |
| 401 |
4051c4044 |
| 402 |
< .\hbox(0.0+0.0)x-7127.0, shifted 7227.0 |
| 403 |
--- |
| 404 |
> .\hbox(0.0+0.0)x-7127.0, shifted 7227.0, display |
| 405 |
4845c4838 |
| 406 |
< I'll pretend you didn't say \long or \outer or \global. |
| 407 |
--- |
| 408 |
> I'll pretend you didn't say \long or \outer or \global or \protected. |
| 409 |
7292a7286,7288 |
| 410 |
> |
| 411 |
> ### semi simple group (level 1) entered at line 429 (begingroup) |
| 412 |
> ### bottom level |
| 413 |
7300c7296 |
| 414 |
< 373 multiletter control sequences out of 15000+0 |
| 415 |
--- |
| 416 |
> 439 multiletter control sequences out of 15000+0 |
| 417 |
7303c7299 |
| 418 |
< 7i,7n,9p,113b,38s stack positions out of 200i,40n,60p,500b,600s |
| 419 |
--- |
| 420 |
> 7i,7n,9p,136b,40s stack positions out of 200i,40n,60p,500b,600s |
| 421 |
|
| 422 |
mv tripos.tex xtripos.tex |
| 423 |
+ mv tripos.tex xtripos.tex |
| 424 |
diff $testdir/tripos.tex xtripos.tex |
| 425 |
+ diff SRCDIR/triptrap/tripos.tex xtripos.tex |
| 426 |
|
| 427 |
eval ./dvitype $dvitype_args trip.dvi >xtrip.typ || exit 1 |
| 428 |
+ eval ./dvitype -output-level=2 -dpi=72.27 '-page-start='\''*.*.*.*.*.*.*.*.*.*'\''' trip.dvi |
| 429 |
./dvitype -output-level=2 -dpi=72.27 -page-start='*.*.*.*.*.*.*.*.*.*' trip.dvi |
| 430 |
++ ./dvitype -output-level=2 -dpi=72.27 '-page-start=*.*.*.*.*.*.*.*.*.*' trip.dvi |
| 431 |
$DIFF $DIFFFLAGS ctrip.typ xtrip.typ |
| 432 |
+ diff ctrip.typ xtrip.typ |
| 433 |
|
| 434 |
mv trip.fmt xtrip.fmt |
| 435 |
+ mv trip.fmt xtrip.fmt |
| 436 |
|
| 437 |
# ============================== |
| 438 |
|
| 439 |
echo "*** e-TeX specific part of e-TRIP test ***." |
| 440 |
+ echo '*** e-TeX specific part of e-TRIP test ***.' |
| 441 |
*** e-TeX specific part of e-TRIP test ***. |
| 442 |
|
| 443 |
./pltotf $etestdir/etrip.pl etrip.tfm || exit 1 |
| 444 |
+ ./pltotf SRCDIR/etexdir/etrip/etrip.pl etrip.tfm |
| 445 |
|
| 446 |
./tftopl ./etrip.tfm etrip.pl || exit 1 |
| 447 |
+ ./tftopl ./etrip.tfm etrip.pl |
| 448 |
|
| 449 |
diff $etestdir/etrip.pl etrip.pl || is_OK=false |
| 450 |
+ diff SRCDIR/etexdir/etrip/etrip.pl etrip.pl |
| 451 |
|
| 452 |
# get same filename in log |
| 453 |
$LN_S $etestdir/etrip.tex . |
| 454 |
+ ln -s SRCDIR/etexdir/etrip/etrip.tex . |
| 455 |
|
| 456 |
./etex --progname=einitex --ini <$etestdir/etrip2.in >etripin.fot |
| 457 |
+ ./etex --progname=einitex --ini |
| 458 |
if test ! -s etrip.fmt; then |
| 459 |
echo "*** etrip.fmt not created by etrip2.in, investigate!" >&2 |
| 460 |
exit 1 |
| 461 |
fi |
| 462 |
+ test '!' -s etrip.fmt |
| 463 |
mv etrip.log etripin.log || exit 1 |
| 464 |
+ mv etrip.log etripin.log |
| 465 |
diff $etestdir/etripin.log etripin.log |
| 466 |
+ diff SRCDIR/etexdir/etrip/etripin.log etripin.log |
| 467 |
1c1 |
| 468 |
< This is e-TeX, Version 3.14159265-2.6 (TeX Live 2014) (INITEX) 22 JAN 2014 11:25 |
| 469 |
--- |
| 470 |
> This is e-TeX, Version 3.141592653-2.6 (TeX Live 2021/dev) (INITEX) 27 JAN 2021 18:01 |
| 471 |
26,27c26,27 |
| 472 |
< (preloaded format=etrip 2014.1.22) |
| 473 |
< 1491 strings of total length 26258 |
| 474 |
--- |
| 475 |
> (preloaded format=etrip 2021.1.27) |
| 476 |
> 1492 strings of total length 26297 |
| 477 |
|
| 478 |
# May as well test non-ini second time through. |
| 479 |
./etex --progname=etex <$etestdir/etrip3.in >etrip.fot |
| 480 |
+ ./etex --progname=etex |
| 481 |
diff $etestdir/etrip.fot etrip.fot |
| 482 |
+ diff SRCDIR/etexdir/etrip/etrip.fot etrip.fot |
| 483 |
1c1 |
| 484 |
< This is e-TeX, Version 3.14159265-2.6 (TeX Live 2014) (preloaded format=etex) |
| 485 |
--- |
| 486 |
> This is e-TeX, Version 3.141592653-2.6 (TeX Live 2021/dev) (preloaded format=etex) |
| 487 |
45,46d44 |
| 488 |
< |
| 489 |
< \openout1 = `etrip.out'. |
| 490 |
|
| 491 |
# We use $DIFF instead of `diff' only for those files where there |
| 492 |
# might actually be legitimate numerical differences. |
| 493 |
$DIFF $DIFFFLAGS $etestdir/etrip.log etrip.log |
| 494 |
+ diff SRCDIR/etexdir/etrip/etrip.log etrip.log |
| 495 |
1c1 |
| 496 |
< This is e-TeX, Version 3.14159265-2.6 (TeX Live 2014) (preloaded format=etrip 2014.1.22) 22 JAN 2014 11:25 |
| 497 |
--- |
| 498 |
> This is e-TeX, Version 3.141592653-2.6 (TeX Live 2021/dev) (preloaded format=etrip 2021.1.27) 27 JAN 2021 18:01 |
| 499 |
692,693d691 |
| 500 |
< \openout1 = `etrip.out'. |
| 501 |
< |
| 502 |
1426c1424 |
| 503 |
< this will be denominator of: |
| 504 |
--- |
| 505 |
> this will begin denominator of: |
| 506 |
1450c1448 |
| 507 |
< this will be denominator of: |
| 508 |
--- |
| 509 |
> this will begin denominator of: |
| 510 |
1497c1495 |
| 511 |
< this will be denominator of: |
| 512 |
--- |
| 513 |
> this will begin denominator of: |
| 514 |
1545c1543 |
| 515 |
< this will be denominator of: |
| 516 |
--- |
| 517 |
> this will begin denominator of: |
| 518 |
4421,4422c4419,4420 |
| 519 |
< 19 strings out of 1809 |
| 520 |
< 145 string characters out of 7742 |
| 521 |
--- |
| 522 |
> 19 strings out of 1808 |
| 523 |
> 145 string characters out of 7703 |
| 524 |
|
| 525 |
diff $etestdir/etrip.out etrip.out |
| 526 |
+ diff SRCDIR/etexdir/etrip/etrip.out etrip.out |
| 527 |
|
| 528 |
eval ./dvitype $dvitype_args etrip.dvi >etrip.typ || exit 1 |
| 529 |
+ eval ./dvitype -output-level=2 -dpi=72.27 '-page-start='\''*.*.*.*.*.*.*.*.*.*'\''' etrip.dvi |
| 530 |
./dvitype -output-level=2 -dpi=72.27 -page-start='*.*.*.*.*.*.*.*.*.*' etrip.dvi |
| 531 |
++ ./dvitype -output-level=2 -dpi=72.27 '-page-start=*.*.*.*.*.*.*.*.*.*' etrip.dvi |
| 532 |
$DIFF $DIFFFLAGS $etestdir/etrip.typ etrip.typ |
| 533 |
+ diff SRCDIR/etexdir/etrip/etrip.typ etrip.typ |
| 534 |
1c1 |
| 535 |
< This is DVItype, Version 3.6 (TeX Live 2014) |
| 536 |
--- |
| 537 |
> This is DVItype, Version 3.6 (TeX Live 2021/dev) |
| 538 |
9c9 |
| 539 |
< ' TeX output 2014.01.22:1125' |
| 540 |
--- |
| 541 |
> ' TeX output 2021.01.27:1801' |
| 542 |
|
| 543 |
$is_OK || { |
| 544 |
echo ">>> There were some errors." >&2 |
| 545 |
exit 1 |
| 546 |
} |
| 547 |
+ : |
| 548 |
|
| 549 |
PASS etexdir/etriptest.test (exit status: 0) |
| 550 |
PASS: etexdir/etriptest.test |