summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/uptex-vf.test
blob: a8e3f83d9183d80af5ee3a54ecc04e388dda5480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh -vx
# $Id$
# Public domain.
# You may freely use, modify and/or distribute this file.

TEXFONTS="$srcdir/testdata;."
SOURCE_DATE_EPOCH=1588474800
export TEXFONTS SOURCE_DATE_EPOCH

cp $srcdir/testdata/upjf_full.vf ./upjf.vf && \
./dvips -d 4 $srcdir/testdata/upjf.dvi -o upjf.ps -u $srcdir/testdata/upjf.map && \
mv upjf.ps upjf_full.ps || exit 1

cp $srcdir/testdata/upjf_omit.vf ./upjf.vf && \
./dvips -d 4 $srcdir/testdata/upjf.dvi -o upjf.ps -u $srcdir/testdata/upjf.map && \
mv upjf.ps upjf_omit.ps || exit 2

diff upjf_full.ps upjf_omit.ps || exit 3