File: test-chasen.sh

package info (click to toggle)
chasen 2.4.5-44
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 2,556 kB
  • sloc: sh: 10,024; ansic: 5,983; cpp: 179; makefile: 111; perl: 10
file content (14 lines) | stat: -rwxr-xr-x 356 bytes parent folder | download | duplicates (7)
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