2 # $Id: test1.sh,v 1.6 2004-09-27 10:44:51 adam Exp $
10 if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG filters|grep grs.xml >/dev/null; then
11 ../../index/zebraidx -c $pp/zebra.cfg -l $LOG $DBG init
15 ../../index/zebraidx -c $pp/zebra.cfg -l $LOG $DBG update $pp/m*.xml
16 ../../index/zebrasrv -c $pp/zebra.cfg -l $LOG $DBG unix:socket &
18 ../api/testclient unix:socket '@and @attr 1=54 eng @and @attr 1=1003 jack @attr 1=4 computer' >tmp1
19 echo 'Result count: 2' >tmp2
20 kill `cat zebrasrv.pid` || exit 1
21 diff tmp1 tmp2 || exit 2