Files
annotate/detectors/normalize/test/go_test.sh

19 lines
294 B
Bash
Raw Normal View History

#!/bin/csh -f
echo "+ [testing Normalize]"
../bin/go_normalize.sh test.fst > test.bak
diff -q test.bak test.ref >& /dev/null
set stat = $status
if ($stat == 0) then
echo '+ Normalize test Ok'
\rm -r test.bak
else
echo '+ Normalize test Failure'
endif
exit $stat