summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/uptexdir/nissya.test
blob: 749450276b342bf75b787518b515a4c7dc404e8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh -vx
# $Id$
# 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>

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