summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/uptexdir/upkcat.test
blob: 28ceca8ccfa793e973a259c0b625cff4a9512351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -vx
# $Id$
# Copyright 2022 TANAKA Takuji  <ttk@t-lab.opal.ne.jp>
# You may freely use, modify and/or distribute this file.

LC_ALL=C; export LC_ALL;  LANGUAGE=C; export LANGUAGE

TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
TEXINPUTS=$srcdir/uptexdir/tests:.; export TEXINPUTS

./uptex -ini -interaction batchmode -jobname upkcat-log kcat.tex || exit 1
grep '::' upkcat-log.log > upkcat-log_ed.log \
  && diff upkcat-log_ed.log $srcdir/uptexdir/tests/upkcat.txt || exit 2

exit 0