summaryrefslogtreecommitdiff
path: root/Build/source/utils/t1utils/t1utils.test
blob: 23de351dad4ce3d0e344c0fb02a956b3638b1cd3 (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
#! /bin/sh

# Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

rm -rf Symbol.*
./t1binary $srcdir/tests/Symbol.pfa Symbol.pfb \
	&& ./t1ascii Symbol.pfb Symbol.pfa \
	&& diff Symbol.pfa $srcdir/tests/Symbol.pfa \
	|| exit 1

echo t1ascii and t1binary test OK

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 \
	|| exit 1

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 \
	|| exit 1

echo t1asm and t1disasm test OK