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

src=$srcdir/pdftexdir/tests

rm -rf test-13.* test-15.*

cp $src/test-13.pdf .
./pdftosrc test-13.pdf -1 \
	&& diff test-13.xref $src/test-13.xref \
	|| exit 1

cp $src/test-15.pdf .
./pdftosrc test-15.pdf -1 \
	&& diff test-15.xref $src/test-15.xref \
	|| exit 1