summaryrefslogtreecommitdiff
path: root/Build/source/texk/makeindexk/tests/makeindex.test
blob: 808e9f07393c4581c7ac5ccef39b2d332ee93ffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh

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

TEXMFCNF=$srcdir/../kpathsea
export TEXMFCNF

rm -f sample.*

./makeindex $srcdir/tests/sample.idx -o sample.ind1 -t sample.ilg1 \
	&& diff $srcdir/tests/sample.ind sample.ind1 || exit 1

cat $srcdir/tests/sample.idx | ./makeindex >sample.ind2 2>sample.ilg2 \
	&& diff $srcdir/tests/sample.ind sample.ind2 || exit 1