#! /bin/sh -vx # $Id: wprob.test 804 2018-05-17 22:29:15Z karl $ # Copyright 2017-2018 Karl Berry # Copyright 2011-2013 Peter Breitenlohner # You may freely use, modify and/or distribute this file. BinDir=${BinDir:-.} ExeExt=${ExeExt:-} _pdftex=$BinDir/pdftex$ExeExt 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