summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/eptexdir/pdfprimitive.test
blob: 3a06237ab33fa7e7661d07a8d17549b47293ac8a (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-2018 Karl Berry <tex-live@tug.org>#
# Copyright 2015 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

LC_ALL=C; export LC_ALL;  LANGUAGE=C; export LANGUAGE

TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
TEXINPUTS=.; export TEXINPUTS

FILE=pdfprimitive-eptex

# get same filename in log
rm -f $FILE.*
$LN_S $srcdir/eptexdir/tests/pdfprimitive-test.tex $FILE.tex

./eptex -ini -etex $FILE && exit 1

sed 1d $FILE.log >$FILE.out

diff $srcdir/eptexdir/tests/$FILE.log $FILE.out || exit 1