summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/tftopl.test
blob: e77a525464b614796c3434d1f4b8fe713b0138b5 (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
#! /bin/sh -vx
# $Id$
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2009-2015 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

test -d tests || mkdir -p tests

./tftopl -char=foo -help || exit 1

./tftopl -version || exit 1

TEXMFCNF=$srcdir/../kpathsea
export TEXMFCNF

./tftopl -verbose $srcdir/tests/badtfm && exit 1

./tftopl -verbose $srcdir/tests/cmr10 tests/xcmr10a || exit 1

diff $srcdir/tests/cmr10.pl tests/xcmr10a.pl || exit 1

./tftopl -verbose $srcdir/tests/cmr10 >tests/xcmr10b.pl || exit 1

diff $srcdir/tests/cmr10.pl tests/xcmr10b.pl || exit 1