summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/vptovf.test
blob: 6db5727c00d5d92b11400039ed8d08f74227ecf2 (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
#! /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.

BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_vptovf=$BinDir/vptovf$ExeExt

test -d tests || mkdir -p tests

$_vptovf -help || exit 1

$_vptovf -version || exit 2

TEXMFCNF=$srcdir/../kpathsea
export TEXMFCNF

$_vptovf -verbose $srcdir/tests/badvpl && exit 3

$_vptovf -verbose $srcdir/tests/ptmr tests/yptmr tests/yptmr || exit 4

cmp $srcdir/tests/ptmr.vf tests/yptmr.vf || exit 5

cmp $srcdir/tests/ptmr.tfm tests/yptmr.tfm || exit 6

$_vptovf -verbose $srcdir/tests/ptmr tests/yptmr2.vf || exit 7

cmp $srcdir/tests/ptmr.vf tests/yptmr2.vf || exit 8

cmp $srcdir/tests/ptmr.tfm tests/yptmr2.tfm || exit 9