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

./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