diff options
Diffstat (limited to 'Build/source/texk/web2c/uptexdir/sample.test')
-rwxr-xr-x | Build/source/texk/web2c/uptexdir/sample.test | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/uptexdir/sample.test b/Build/source/texk/web2c/uptexdir/sample.test new file mode 100755 index 00000000000..295ef8302b4 --- /dev/null +++ b/Build/source/texk/web2c/uptexdir/sample.test @@ -0,0 +1,23 @@ +#! /bin/sh -vx +# $Id$ +# Copyright 2017-2020 Karl Berry <tex-live@tug.org> +# Copyright 2010-2013 Peter Breitenlohner <tex-live@tug.org> +# You may freely use, modify and/or distribute this file. + +test -d uptests || mkdir -p uptests + +tfmpath=`$KPSEWHICH cmbx10.tfm` || exit 77 + +tfmparent=`dirname "$tfmpath"` +tfmgrandparent=`dirname "$tfmparent"` + +# Test inputs +testdir=$srcdir/ptexdir/tests + +TEXMFCNF=$srcdir/../kpathsea \ + TFMFONTS=$testdir:`dirname "$tfmgrandparent"`// \ + ./updvitype -kanji=utf8 -show-opcodes $testdir/sample >uptests/xsample.typ || exit 1 + +sed 1d uptests/xsample.typ >uptests/xsamplea.typ +diff $testdir/samplea.typ uptests/xsamplea.typ || exit 1 + |