summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/uptexdir/upkcat.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/uptexdir/upkcat.test')
-rwxr-xr-xBuild/source/texk/web2c/uptexdir/upkcat.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/uptexdir/upkcat.test b/Build/source/texk/web2c/uptexdir/upkcat.test
new file mode 100755
index 00000000000..28ceca8ccfa
--- /dev/null
+++ b/Build/source/texk/web2c/uptexdir/upkcat.test
@@ -0,0 +1,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