summaryrefslogtreecommitdiff
path: root/Build/source/texk/cjkutils/cefsconv.test
blob: f9e31d9a757e8918e1f265ff7007b665a40657de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/sh -vx
# $Id$
# Copyright 2017-2018 Karl Berry <tex-live@tug.org>
# Copyright 2011 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

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

./cefsconv <$srcdir/tests/cefsconv.tex >cefsconv.cjk \
	&& diff cefsconv.cjk $srcdir/tests/cefsconv.cjk \
	|| exit 1

./sjisconv <$srcdir/tests/cefsconv.tex | ./cefconv \
	| sed 's/cefconv.*sjisconv/cefsconv/' >cefsconv.cjk \
	&& diff cefsconv.cjk $srcdir/tests/cefsconv.cjk \
	|| exit 1

./cefconv <$srcdir/tests/cefsconv.tex | ./sjisconv \
	| sed 's/CJKpreproc.*CNSpreproc/CNSpreproc/;s/cefconv/cefsconv/' >cefsconv.cjk \
	&& diff cefsconv.cjk $srcdir/tests/cefsconv.cjk \
	|| exit 1