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

rm -rf pwprob.*
cp "$srcdir/tests/wprob.tex" ./pwprob.tex || exit 1

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

# this command is expected to fail.
./pdftex --ini --etex --file-line-error --interaction=nonstopmode pwprob.tex \
&& exit 1

grep '^\./pwprob\.tex:12: Could not open file NoSuchFile\.eps\.$' \
  pwprob.log || exit 1

exit 0