X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fcharmap%2Ftest1.sh;h=2059b2907c0d9e87de5e6887ca7b96e30cd41365;hb=a9eae0225b1a51b0257f80d9da9f95475dd04f53;hp=bb8e1a2d0327d38e0885f95c2fa4c8d91b5422aa;hpb=3038982ea4d46e1562a4e88029199ca09153a839;p=idzebra-moved-to-github.git diff --git a/test/charmap/test1.sh b/test/charmap/test1.sh index bb8e1a2..2059b29 100755 --- a/test/charmap/test1.sh +++ b/test/charmap/test1.sh @@ -1,18 +1,18 @@ #!/bin/sh -# $id$ +# $Id: test1.sh,v 1.5 2004-09-27 11:22:39 adam Exp $ pp=${srcdir:-"."} LOG=test1.log rm -f $LOG -if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG -V|grep Expat >/dev/null; then +if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG filters|grep grs.xml >/dev/null; then ../../index/zebraidx -c $pp/zebra.cfg -l$LOG init else exit 0 fi -../../index/zebraidx -c $pp/zebra.cfg -l$LOG update *.xml +../../index/zebraidx -c $pp/zebra.cfg -l$LOG update $pp/*.xml ../../index/zebrasrv -c $pp/zebra.cfg -l$LOG unix:socket & -sleep 1 +sleep 2 ../api/testclient unix:socket '@term string æ' >tmp1 echo 'Result count: 1' >tmp2 kill `cat zebrasrv.pid` || exit 1