diff options
Diffstat (limited to 'Build/source/texk/web2c/uptexdir/upkcat.test')
-rwxr-xr-x | Build/source/texk/web2c/uptexdir/upkcat.test | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/uptexdir/upkcat.test b/Build/source/texk/web2c/uptexdir/upkcat.test index 195fb9c5be4..f5e0eeb2e8c 100755 --- a/Build/source/texk/web2c/uptexdir/upkcat.test +++ b/Build/source/texk/web2c/uptexdir/upkcat.test @@ -1,6 +1,6 @@ #! /bin/sh -vx # $Id$ -# Copyright 2022 TANAKA Takuji <ttk@t-lab.opal.ne.jp> +# Copyright 2022-2025 TANAKA Takuji <ttk@t-lab.opal.ne.jp> # You may freely use, modify and/or distribute this file. BinDir=${BinDir:-.} @@ -12,8 +12,18 @@ LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF TEXINPUTS="$srcdir/uptexdir/tests;."; export TEXINPUTS +rm -f upkcat*log*.log + $_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 +$_uptex -ini -interaction batchmode -jobname upkcat-e-log -kanji-internal=euc kcat.tex || exit 3 +grep '::' upkcat-e-log.log > upkcat-e-log_ed.log \ + && diff upkcat-e-log_ed.log $srcdir/uptexdir/tests/upkcat-e.txt || exit 4 + +$_uptex -ini -interaction batchmode -jobname upkcat-s-log -kanji-internal=sjis kcat.tex || exit 5 +grep '::' upkcat-s-log.log > upkcat-s-log_ed.log \ + && diff upkcat-s-log_ed.log $srcdir/uptexdir/tests/upkcat-s.txt || exit 6 + exit 0 |