blob: b9d62aba08db09d7f74e0ec95b10797735a404d8 (
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
|
#! /bin/sh -vx
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2011 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
failed=
rm -rf Symbol.*
./t1binary $srcdir/tests/Symbol.pfa Symbol.pfb \
&& ./t1ascii Symbol.pfb Symbol.pfa \
&& diff Symbol.pfa $srcdir/tests/Symbol.pfa \
&& echo "t1ascii/t1binary tests OK" \
|| failed="$failed t1ascii/t1binary"
rm -rf Symbol.*
./t1disasm $srcdir/tests/Symbol.pfa Symbol.raw \
&& ./t1asm -a Symbol.raw Symbol.pfa \
&& diff Symbol.raw $srcdir/tests/Symbol.raw \
&& diff Symbol.pfa $srcdir/tests/Symbol.pfa \
&& echo "t1asm/t1disasm-ascii tests OK" \
|| failed="$failed t1asm/t1disasm-ascii"
rm -rf Symbol.*
./t1disasm $srcdir/tests/Symbol.pfb Symbol.raw \
&& ./t1asm -b Symbol.raw Symbol.pfb \
&& ./t1ascii Symbol.pfb Symbol.pfa \
&& diff Symbol.raw $srcdir/tests/Symbol.raw \
&& diff Symbol.pfa $srcdir/tests/Symbol.pfa \
&& echo "t1asm/t1disasm-binary tests OK" \
|| failed="$failed t1asm/t1disasm-binary"
test -z "$failed" && exit 0
echo "failed tests:$failed"
exit 1
|