File: test-chasen.sh

package info (click to toggle)
chasen 2.3.3-6.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,056 kB
  • ctags: 885
  • sloc: sh: 8,427; ansic: 5,826; cpp: 538; makefile: 157; perl: 10
file content (14 lines) | stat: -rwxr-xr-x 356 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

MAKEMAT=../mkchadic/makemat
MAKEDA=../mkchadic/makeda
CHASEN=../chasen/chasen

if ${MAKEMAT} -i e && ${MAKEDA} -i e chadic test.dic &&
    ${CHASEN} -i e -v -Os -w 1000 -r chasenrc test.txt > test.out &&
    diff -b test.vch test.out; then
	rm -f matrix.cha table.cha \
	    chadic.da chadic.dat chadic.lex chadic.tmp test.out
	exit 0
fi
exit 1