summaryrefslogtreecommitdiff
path: root/Build/source/texk/cjkutils/cef5conv.test
blob: 3d07b683089b9e10585913c6e340dbac8d8bbaa6 (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 Peter Breitenlohner <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

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

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

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