summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipos/dvipos.test
blob: c98012c0350cbbad4583a23ebdceae25755417a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh -vx
#
# Copyright 2021 TANAKA Takuji
# You may freely use, modify and/or distribute this file.

TEXMFCNF=$srcdir/../kpathsea
TFMFONTS="$srcdir/tests"
export TEXMFCNF TFMFONTS

## play.dvi has no "pos:" specials
rm -rf play*.*
cp $srcdir/tests/play.dvi .
./dvipos -b -o play.loc play.dvi || exit 1
diff play.loc $srcdir/tests/play.loc || exit 2

grep -v 'Processing_data_and_time' $srcdir/tests/play.pos > play_0.pos \
  && grep -v 'Processing_data_and_time' play.pos > play_1.pos \
  && diff play_0.pos play_1.pos || exit 3