1#!/bin/sh 2. ./testfuncs.sh 3 4echo "DAG CLASS-BASED LM TEST" 5tmpout="test-dag-clm.out" 6 7margs="-mdef $hub4am/mdef \ 8-fdict $an4lm/filler.dict \ 9-dict $an4lm/an4.dict \ 10-lw 13.0 \ 11-wip 0.2 \ 12-ctl $an4lm/an4.ctl.platform_independent \ 13-inlatdir $an4lm/ \ 14-logbase 1.0003 \ 15-backtrace 1 " 16 17clsargs="-lmctlfn $builddir/model/lm/an4/an4.ug.cls.lmctl -ctl_lm $an4lm/an4.ctl_lm" 18 19rm -f $tmpout 20 21run_program sphinx3_dag $margs $clsargs > $tmpout 2>&1 22 23grep "BSTPTH:" $tmpout 24grep "BSTXCT" $tmpout 25 26if grep "BSTPTH:" $tmpout |grep "P I T T S B U R G H" > /dev/null 2>&1; then 27 pass "DAG CLASS-BASED LM test" 28else 29 fail "DAG CLASS-BASED LM test" 30fi 31