#! /bin/sh -vx # $Id: aleph-ofm.test 75906 2025-07-27 21:23:02Z karl $ # Copyright 2024-2025 Japanese TeX Development Community # You may freely use, modify and/or distribute this file. BinDir=${BinDir:-.} ExeExt=${ExeExt:-} _aleph=$BinDir/aleph$ExeExt LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE TEXMFCNF=$srcdir/../kpathsea;export TEXMFCNF OFMFONTS=".;$srcdir/tests"; export OFMFONTS TEXINPUTS=".;$srcdir/tests"; export TEXINPUTS OCPINPUTS=".;$srcdir/alephdir/tests"; export OCPINPUTS TEXFORMATS=.; export TEXFORMATS # get same filename in log rm -f al-ofm.* $LN_S $srcdir/alephdir/tests/al-ofm.tex ./al-ofm.tex if test ! -f ./al-basic-ofm.tex; then cp $srcdir/tests/dump-basic.tex ./al-basic-ofm.tex fi if test ! -f ./al-basic-ofm.fmt; then $_aleph -ini -etex al-basic-ofm || exit 1 fi $_aleph -fmt=al-basic-ofm -interaction=batchmode al-ofm || : sed '1d;3d;4d' al-ofm.log >al-ofm.out diff $srcdir/alephdir/tests/al-ofm.log al-ofm.out || exit 3