| 1 |
#! /bin/sh -vx |
| 2 |
# $Id: wprob.test 804 2018-05-17 22:29:15Z karl $ |
| 3 |
# Copyright 2017-2018 Karl Berry <[email protected]> |
| 4 |
# Copyright 2011-2013 Peter Breitenlohner <[email protected]> |
| 5 |
# You may freely use, modify and/or distribute this file. |
| 6 |
|
| 7 |
BinDir=${BinDir:-.} |
| 8 |
ExeExt=${ExeExt:-} |
| 9 |
_pdftex=$BinDir/pdftex$ExeExt |
| 10 |
|
| 11 |
rm -rf pwprob.* |
| 12 |
cp "$srcdir/tests/wprob.tex" ./pwprob.tex || exit 1 |
| 13 |
|
| 14 |
TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF |
| 15 |
|
| 16 |
# this command is expected to fail. |
| 17 |
./pdftex --ini --etex --file-line-error --interaction=nonstopmode pwprob.tex \ |
| 18 |
&& exit 1 |
| 19 |
|
| 20 |
grep '^\./pwprob\.tex:12: Could not open file NoSuchFile\.eps\.$' \ |
| 21 |
pwprob.log || exit 1 |
| 22 |
|
| 23 |
exit 0 |