summaryrefslogtreecommitdiff
path: root/Build/source/texk/detex/detex.test
blob: fd3b3f50054210bf461561749e155bfa1ca3007b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh -vx
# $Id$
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2009 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

echo '#' >texmf.cnf

./detex $srcdir/test.tex >test.out \
	&& diff test.out $srcdir/test.lout \
	|| exit 1

./detex -l $srcdir/test.tex >test.out \
	&& diff test.out $srcdir/test.lout \
	|| exit 1

./detex -t $srcdir/test.tex >test.out \
	&& diff test.out $srcdir/test.tout \
	|| exit 1