#!/bin/sh # $Id: rule.test $ # Public domain. Originally written by Martin Ruckert # Basic check that rule.tex can be hitexed stretched and shrinked. LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF TEXINPUTS=$srcdir/hitexdir/tests; export TEXINPUTS TFMFONTS=$srcdir/tests; export TFMFONTS #PKFONTS=$srcdir/tests; export PKFONTS T1FONTS=$srcdir/tests; export T1FONTS OUTDIR=./hitexdir/tests ./hitex -ini -interaction=nonstopmode -output-directory=$OUTDIR hello.tex || exit $? ./histretch -n $OUTDIR/hello.hnt || exit $? if grep -q "
" $OUTDIR/hello.HINT then : # OK else echo "hello.HINT does not contain the propper .tfm file" >&2 exit 1 fi exit 0