diff options
author | Takuji Tanaka <KXD02663@nifty.ne.jp> | 2016-02-09 11:02:48 +0000 |
---|---|---|
committer | Takuji Tanaka <KXD02663@nifty.ne.jp> | 2016-02-09 11:02:48 +0000 |
commit | adec059e95b8e5728d8fb2d8420c5e928812c282 (patch) | |
tree | 28d38c44042fea2befbccbdd71063c801518d298 /Build/source/texk/upmendex/tests | |
parent | b0bdd8cd0fed764f189d773b0b0f69d25415a8f5 (diff) |
texk/upmendex: upmendex 0.50
git-svn-id: svn://tug.org/texlive/trunk@39638 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/upmendex/tests')
-rw-r--r-- | Build/source/texk/upmendex/tests/uni.dict | 3 | ||||
-rw-r--r-- | Build/source/texk/upmendex/tests/uni.ist | 10 | ||||
-rw-r--r-- | Build/source/texk/upmendex/tests/upmendex.test | 25 |
3 files changed, 38 insertions, 0 deletions
diff --git a/Build/source/texk/upmendex/tests/uni.dict b/Build/source/texk/upmendex/tests/uni.dict new file mode 100644 index 00000000000..36343dac17d --- /dev/null +++ b/Build/source/texk/upmendex/tests/uni.dict @@ -0,0 +1,3 @@ +% -*- coding: utf-8 -*- +𠮟咤 しった +激励 げきれい diff --git a/Build/source/texk/upmendex/tests/uni.ist b/Build/source/texk/upmendex/tests/uni.ist new file mode 100644 index 00000000000..095533d1fb3 --- /dev/null +++ b/Build/source/texk/upmendex/tests/uni.ist @@ -0,0 +1,10 @@ +% -*- coding: utf-8 -*- + +delim_0 "\\leaders\\hbox{$\\cdot$}\\hfill " +delim_1 "\\leaders\\hbox{$\\cdot$}\\hfill " +delim_2 "\\leaders\\hbox{$\\cdot$}\\hfill " + +lethead_flag 1 +lethead_prefix "\n\\centerline{\\bfseries ◆◆◆ " +lethead_suffix " ◆◆◆}\\par\\nobreak" + diff --git a/Build/source/texk/upmendex/tests/upmendex.test b/Build/source/texk/upmendex/tests/upmendex.test new file mode 100644 index 00000000000..4883af4db2e --- /dev/null +++ b/Build/source/texk/upmendex/tests/upmendex.test @@ -0,0 +1,25 @@ +#! /bin/sh + +# Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org> +# You may freely use, modify and/or distribute this file. + +TEXMFCNF=$srcdir/../kpathsea +export TEXMFCNF + +rm -f foo.* + +./upmendex $srcdir/tests/foo.idx -o foo.ind1 -t foo.ilg1 \ + && diff $srcdir/tests/foo.ind foo.ind1 || exit 1 + +cat $srcdir/tests/foo.idx | ./upmendex >foo.ind2 2>foo.ilg2 \ + && diff $srcdir/tests/foo.ind foo.ind2 || exit 1 + +./upmendex -d $srcdir/tests/uni.dict -s $srcdir/tests/uni.ist \ + $srcdir/tests/uni.idx -o uni.ind1 -t uni.ilg1 \ + && diff $srcdir/tests/uni.ind uni.ind1 || exit 1 + +cat $srcdir/tests/uni.idx | \ + ./upmendex -d $srcdir/tests/uni.dict -s $srcdir/tests/uni.ist \ + >uni.ind2 2>uni.ilg2 \ + && diff $srcdir/tests/uni.ind uni.ind2 || exit 1 + |