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

BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_pdftex=$BinDir/pdftex$ExeExt

TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
TEXINPUTS="$srcdir/pdftexdir/tests;$srcdir/tests"; export TEXINPUTS
TEXFORMATS=.; export TEXFORMATS

$_pdftex -ini -interaction=batchmode pdfimage </dev/null || exit 1

$_pdftex -fmt=pdfimage -interaction=batchmode pdfimage </dev/null || exit 2

exit 0