summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/test-missing-image.test
blob: a7aaa32b6d3a902d9cf63330c1d3907d2e6048c1 (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 run just 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