diff options
Diffstat (limited to 'Build/source/texk/web2c/pmpostdir/pmpsamp.test')
-rwxr-xr-x | Build/source/texk/web2c/pmpostdir/pmpsamp.test | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/pmpostdir/pmpsamp.test b/Build/source/texk/web2c/pmpostdir/pmpsamp.test new file mode 100755 index 00000000000..aba36e6dcba --- /dev/null +++ b/Build/source/texk/web2c/pmpostdir/pmpsamp.test @@ -0,0 +1,35 @@ +#! /bin/sh + +# Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org> +# You may freely use, modify and/or distribute this file. + +tests=pmpostdir/tests + +test -d $tests || mkdir -p $tests + +TEXMFCNF=$srcdir/../kpathsea + +tfmpath=`$KPSEWHICH cmr10.tfm` || exit 77 +TFMFONTS="$srcdir/$tests;`echo $tfmpath | sed 's,/fonts/tfm/.*$,/fonts/tfm//,'`" + +mppath=`$KPSEWHICH plain.mp` || exit 77 +MPINPUTS=".;`dirname $mppath`" + +mappath=`$KPSEWHICH psfonts.map` || exit 77 +TEXFONTMAPS=`echo $mappath | sed 's,/fonts/map/.*$,/fonts/map//,'` + +t1path=`$KPSEWHICH cmmi10.pfb` || exit 77 +T1FONTS="$srcdir/$tests;`echo $t1path | sed 's,/fonts/type1/.*$,/fonts/type1//,'`" + +vfpath=`$KPSEWHICH min10.vf` || exit 77 +VFFONTS="$srcdir/$tests;`dirname $vfpath`" + +export TEXMFCNF TFMFONTS MPINPUTS TEXFONTMAPS T1FONTS VFFONTS + +eptex -version >/dev/null 2>&1 || exit 77 + +echo 'input plain;' >pmpsamp.mp +cat "$srcdir/$tests/psample.mp" >>pmpsamp.mp + +./pmpost -ini -kanji=utf8 -tex=eptex pmpsamp || exit 1 + |