| 1 |
#! /bin/sh -vx |
| 2 |
# $Id: nissya.test 75026 2025-04-26 08:08:19Z takuji $ |
| 3 |
# Copyright 2022 Japanese TeX Development Community <[email protected]> |
| 4 |
# Copyright 2017 Karl Berry <[email protected]> |
| 5 |
# Copyright 2010-2013 Peter Breitenlohner <[email protected]> |
| 6 |
# You may freely use, modify and/or distribute this file. |
| 7 |
|
| 8 |
# Using data sent by Akira Kakuto <[email protected]> |
| 9 |
|
| 10 |
BinDir=${BinDir:-.} |
| 11 |
ExeExt=${ExeExt:-} |
| 12 |
_upbibtex=$BinDir/upbibtex$ExeExt |
| 13 |
|
| 14 |
test -d uptests || mkdir -p uptests |
| 15 |
|
| 16 |
cp $srcdir/uptexdir/tests/nissya_bib.aux uptests/nissya_bib.aux |
| 17 |
|
| 18 |
TEXMFCNF=$srcdir/../kpathsea \ |
| 19 |
BSTINPUTS=$srcdir/uptexdir/tests \ |
| 20 |
BIBINPUTS=$srcdir/uptexdir/tests \ |
| 21 |
$_upbibtex -kanji-internal=euc uptests/nissya_bib || exit 1 |
| 22 |
diff $srcdir/uptexdir/tests/nissya_bib.bbl uptests/nissya_bib.bbl || exit 2 |
| 23 |
|
| 24 |
TEXMFCNF=$srcdir/../kpathsea \ |
| 25 |
BSTINPUTS=$srcdir/uptexdir/tests \ |
| 26 |
BIBINPUTS=$srcdir/uptexdir/tests \ |
| 27 |
$_upbibtex uptests/nissya_bib || exit 3 |
| 28 |
|