summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/uptexdir/nissya.test
blob: 7d7a50120b31523a57cce2172f82be1064839eca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh -vx
# $Id$
# Copyright 2022 Japanese TeX Development Community <issue@texjp.org>
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2010-2013 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

# Using data sent by Akira Kakuto <kakuto@fuk.kindai.ac.jp>

BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_upbibtex=$BinDir/upbibtex$ExeExt

test -d uptests || mkdir -p uptests

cp $srcdir/ptexdir/tests/nissya_bib.aux uptests/nissya_bib.aux

TEXMFCNF=$srcdir/../kpathsea \
  BSTINPUTS=$srcdir/ptexdir/tests \
  BIBINPUTS=$srcdir/ptexdir/tests \
  $_upbibtex -kanji-internal=euc uptests/nissya_bib || exit 1
  diff $srcdir/ptexdir/tests/nissya_bib.bbl uptests/nissya_bib.bbl || exit 2

TEXMFCNF=$srcdir/../kpathsea \
  BSTINPUTS=$srcdir/ptexdir/tests \
  BIBINPUTS=$srcdir/ptexdir/tests \
  $_upbibtex uptests/nissya_bib || exit 3