summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvidvi/dvidvi.test
blob: 22aafae5753077c23647da1ba26fce1663ecd512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh -vx
# $Id$
# Copyright 2017-2021 Karl Berry <tex-live@tug.org>
# Copyright 2011 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

rm -rf play*
cp $srcdir/tests/play.dvi .
./dvidvi -f 5 -l @25 -m'4:-3,0(6,0)' play playout 2>playout.2
#
# Eliminate version number for the comparison.
grep -v '^This is dvidvi' playout.2 \
| diff - $srcdir/tests/playout.2 \
|| exit 1

rm -rf play*
cp $srcdir/tests/playtate.dvi .
./dvidvi -f 5 -l @25 -m'4:-3,0(6,0)' playtate playout 2>playout.3
#
grep -v '^This is dvidvi' playout.3 \
| diff - $srcdir/tests/playout.3 \
|| exit 1