summaryrefslogtreecommitdiff
path: root/Build/source/texk/cjkutils/cefsconv.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/cjkutils/cefsconv.test')
-rwxr-xr-xBuild/source/texk/cjkutils/cefsconv.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/texk/cjkutils/cefsconv.test b/Build/source/texk/cjkutils/cefsconv.test
new file mode 100755
index 00000000000..c005f3d2b00
--- /dev/null
+++ b/Build/source/texk/cjkutils/cefsconv.test
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+# Copyright (C) 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
+