blob: bff34639e9ac778e408317e67df23d01852a3ed1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /bin/sh -vx
# $Id$
# Public domain. Test that dvips exits with bad status when there is a
# missing image file.
#
# BTW, to run just this test on its own:
# make -C $wp TESTS=test-missing-image.test check
# where wp=.../Work/texk/dvipsk
BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_dvips=$BinDir/dvips$ExeExt
if $_dvips $srcdir/testdata/missing-image.dvi -o missing-image.ps; then
echo "$0: found image file, but shouldn't have." >&2
exit 1
fi
exit 0
|