#! /bin/sh -vx # $Id$ # Copyright 2017-2020 Karl Berry # Copyright 2010-2013 Peter Breitenlohner # You may freely use, modify and/or distribute this file. test -d ptests || mkdir -p ptests 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"`// \ ./pdvitype -show-opcodes $testdir/sample >ptests/xsample.typ || exit 1 sed 1d ptests/xsample.typ >ptests/xsamplea.typ diff $testdir/samplea.typ ptests/xsamplea.typ || exit 1