summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/tftopl.test
blob: b9a87fed4ac7670930d747e3a5ca43d47fbb1e0e (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
#! /bin/sh

# Copyright (C) 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