diff options
author | Norbert Preining <norbert@preining.info> | 2021-09-20 03:02:23 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-09-20 03:02:23 +0000 |
commit | c9fcf97bc045a9d020980c33b6c7c1ee5aedef99 (patch) | |
tree | bf74a43623e081cad4b72a752730aeff86b7c5cf /indexing/makeindexk/tests/makeindex.test | |
parent | 996c9b239bde82dc3ef3e5b69cd525e87fdb61a8 (diff) |
CTAN sync 202109200302
Diffstat (limited to 'indexing/makeindexk/tests/makeindex.test')
-rwxr-xr-x | indexing/makeindexk/tests/makeindex.test | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/indexing/makeindexk/tests/makeindex.test b/indexing/makeindexk/tests/makeindex.test index c631ea6cc3..4727a96970 100755 --- a/indexing/makeindexk/tests/makeindex.test +++ b/indexing/makeindexk/tests/makeindex.test @@ -1,5 +1,5 @@ #! /bin/sh -vx -# $Id: makeindex.test 45809 2017-11-15 00:36:56Z karl $ +# $Id: makeindex.test 60547 2021-09-19 08:43:57Z takuji $ # Copyright 2017 Karl Berry <tex-live@tug.org> # Copyright 2012 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. @@ -7,7 +7,7 @@ TEXMFCNF=$srcdir/../kpathsea export TEXMFCNF -rm -f sample.* +rm -f sample.* range*.* pprec*.* ./makeindex $srcdir/tests/sample.idx -o sample.ind1 -t sample.ilg1 \ && diff $srcdir/tests/sample.ind sample.ind1 || exit 1 @@ -15,3 +15,36 @@ rm -f sample.* cat $srcdir/tests/sample.idx | ./makeindex >sample.ind2 2>sample.ilg2 \ && diff $srcdir/tests/sample.ind sample.ind2 || exit 1 +# test for range suffix_2p, suffix_3p, suffix_mp +./makeindex -s $srcdir/tests/range1.ist $srcdir/tests/range.idx \ + -o range1.ind1 -t range1.ilg \ + && diff $srcdir/tests/range1.ind range1.ind1 || exit 1 + +./makeindex -s $srcdir/tests/range2.ist $srcdir/tests/range.idx \ + -o range2.ind1 -t range2.ilg \ + && diff $srcdir/tests/range2.ind range2.ind1 || exit 1 + +./makeindex -s $srcdir/tests/range3.ist $srcdir/tests/range.idx \ + -o range3.ind1 -t range3.ilg \ + && diff $srcdir/tests/range3.ind range3.ind1 || exit 1 + +# test for page_precedence and suffix_3p +./makeindex -s $srcdir/tests/pprec0.ist $srcdir/tests/pprecA.idx \ + -o pprecA-0.ind1 -t pprecA-0.ilg \ + && diff $srcdir/tests/pprecA-0.ind pprecA-0.ind1 || exit 1 + +./makeindex -s $srcdir/tests/pprec1.ist $srcdir/tests/pprecA.idx \ + -o pprecA-1.ind1 -t pprecA-1.ilg \ + && diff $srcdir/tests/pprecA-1.ind pprecA-1.ind1 || exit 1 + +./makeindex -s $srcdir/tests/pprec2.ist $srcdir/tests/pprecA.idx \ + -o pprecA-2.ind1 -t pprecA-2.ilg \ + && diff $srcdir/tests/pprecA-2.ind pprecA-2.ind1 || exit 1 + +./makeindex -s $srcdir/tests/pprec3.ist $srcdir/tests/pprecB.idx \ + -o pprecB-3.ind1 -t pprecB-3.ilg \ + && diff $srcdir/tests/pprecB-3.ind pprecB-3.ind1 || exit 1 + +./makeindex -s $srcdir/tests/pprec4.ist $srcdir/tests/pprecB.idx \ + -o pprecB-4.ind1 -t pprecB-4.ilg \ + && diff $srcdir/tests/pprecB-4.ind pprecB-4.ind1 || exit 1 |