2 # $Id: test1.sh,v 1.3.2.1 2005-03-11 21:10:12 adam Exp $
8 if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG -V|grep Expat >/dev/null; then
9 ../../index/zebraidx -c $pp/zebra.cfg -l$LOG init
13 ../../index/zebraidx -c $pp/zebra.cfg -l$LOG update $pp/*.xml
14 ../../index/zebrasrv -c $pp/zebra.cfg -l$LOG unix:socket &
17 ../api/testclient unix:socket '@term string æ' >tmp1
18 echo 'Result count: 1' >tmp2
19 kill `cat zebrasrv.pid` || exit 1
20 diff tmp1 tmp2 || exit 2