Debian Codegraph @

texk/dvipsk/test-missing-image.test

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