summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/test-missing-image.test
blob: 689d807b8fa8f4f4a2e9515c4a6ae239e09c21e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -vx
# $Id$
# Public domain. Test that dvips exits with bad status when there is a
# missing image file.
# 
# BTW, to just run this test on its own:
# make -C $wp TESTS=test-missing-image.test check 
# where wp=.../Work/texk/dvipsk

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