summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/eptexdir/pdfprimitive.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/eptexdir/pdfprimitive.test')
-rwxr-xr-xBuild/source/texk/web2c/eptexdir/pdfprimitive.test23
1 files changed, 23 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/eptexdir/pdfprimitive.test b/Build/source/texk/web2c/eptexdir/pdfprimitive.test
new file mode 100755
index 00000000000..3a06237ab33
--- /dev/null
+++ b/Build/source/texk/web2c/eptexdir/pdfprimitive.test
@@ -0,0 +1,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
+