summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c')
-rwxr-xr-xBuild/source/texk/web2c/ptexdir/yokotate.test6
-rwxr-xr-xBuild/source/texk/web2c/uptexdir/yokotate.test7
2 files changed, 11 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/ptexdir/yokotate.test b/Build/source/texk/web2c/ptexdir/yokotate.test
index 24a42cacee2..4257d076fa0 100755
--- a/Build/source/texk/web2c/ptexdir/yokotate.test
+++ b/Build/source/texk/web2c/ptexdir/yokotate.test
@@ -40,9 +40,13 @@ for enc in utf8 euc sjis jis; do
./ptftopl -kanji=$enc $testdir/$font.tfm ptests/x$font-$enc.pl && \
if [ $enc = utf8 ]; then \
- perl -i".bak" -CD -pe "use utf8; tr/―~∥-¢£¬/—〜‖−¢£¬/" ptests/x$font-$enc.pl; fi && \
+ perl -i".orig" -CD -pe "use utf8; tr/―~∥-¢£¬/—〜‖−¢£¬/" ptests/x$font-$enc.pl; fi && \
diff $testdir/$font-$enc.pl ptests/x$font-$enc.pl && echo || exit 6
+ if [ $enc = utf8 ]; then
+ ./ppltotf -kanji=$enc ptests/x$font-$enc.pl.orig ptests/x$font-$enc.tfm && \
+ cmp $testdir/$font.tfm ptests/x$font-$enc.tfm && echo || exit 7
+ fi
done
done
diff --git a/Build/source/texk/web2c/uptexdir/yokotate.test b/Build/source/texk/web2c/uptexdir/yokotate.test
index 5edd8eee3c9..d90ecc1dd88 100755
--- a/Build/source/texk/web2c/uptexdir/yokotate.test
+++ b/Build/source/texk/web2c/uptexdir/yokotate.test
@@ -43,8 +43,13 @@ for enc in utf8 euc sjis jis; do
./uptftopl -kanji=$enc $testdir/$font.tfm uptests/x$font-$enc.pl && \
if [ $enc = utf8 ]; then \
- perl -i".bak" -CD -pe "use utf8; tr/―~∥-¢£¬/—〜‖−¢£¬/" uptests/x$font-$enc.pl; fi && \
+ perl -i".orig" -CD -pe "use utf8; tr/―~∥-¢£¬/—〜‖−¢£¬/" uptests/x$font-$enc.pl; fi && \
diff $testdir/$font-$enc.pl uptests/x$font-$enc.pl && echo || exit 6
+ if [ $enc = utf8 ]; then
+ ./uppltotf -kanji=$enc uptests/x$font-$enc.pl.orig uptests/x$font-$enc.tfm && \
+ cmp $testdir/$font.tfm uptests/x$font-$enc.tfm && echo || exit 7
+ fi
+
done
done