summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/dvipdfmx.test
blob: a46ff2723552e7bf032934f328a42bc73e01c318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /bin/sh

# Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

# Not really a test, just making sure the program executes.

TEXMFCNF=${srcdir}/../kpathsea
DVIPDFMXINPUTS=${srcdir}/tests:${srcdir}/data
export TEXMFCNF DVIPDFMXINPUTS

failed=

echo "*** dvipdfmx --version" \
	&& ./dvipdfmx --version \
	&& echo "dvipdfmx-version tests OK" && echo \
	|| failed="$failed dvipdfmx-version"

echo "*** dvipdfmx --help" \
	&& ./dvipdfmx --help \
	&& echo "dvipdfmx-help tests OK" && echo \
	|| failed="$failed dvipdfmx-help"

test -z "$failed" && exit 0
echo "failed tests:$failed"
exit 1