X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fcharmap%2Ftest1.sh;fp=test%2Fcharmap%2Ftest1.sh;h=bb8e1a2d0327d38e0885f95c2fa4c8d91b5422aa;hb=3038982ea4d46e1562a4e88029199ca09153a839;hp=501057d87ffb4128ce0f88dda94c02bc574fbcf8;hpb=9f7d2fac648dbdba81e007f08ba3fbbb33c273b9;p=idzebra-moved-to-github.git diff --git a/test/charmap/test1.sh b/test/charmap/test1.sh index 501057d..bb8e1a2 100755 --- a/test/charmap/test1.sh +++ b/test/charmap/test1.sh @@ -1,13 +1,17 @@ #!/bin/sh +# $id$ + +pp=${srcdir:-"."} + LOG=test1.log rm -f $LOG -if ../../index/zebraidx -l $LOG -V|grep Expat >/dev/null; then - ../../index/zebraidx -l$LOG init +if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG -V|grep Expat >/dev/null; then + ../../index/zebraidx -c $pp/zebra.cfg -l$LOG init else exit 0 fi -../../index/zebraidx -l$LOG update *.xml -../../index/zebrasrv -l$LOG unix:socket & +../../index/zebraidx -c $pp/zebra.cfg -l$LOG update *.xml +../../index/zebrasrv -c $pp/zebra.cfg -l$LOG unix:socket & sleep 1 ../api/testclient unix:socket '@term string æ' >tmp1 echo 'Result count: 1' >tmp2