X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fcharmap%2Ftest2.sh;fp=test%2Fcharmap%2Ftest2.sh;h=c704c9fd7689c85985b45a6b3f2a0bacb8a4587c;hp=2b7861cb86601e5ecfa40e5de0ddec698a7d3fce;hb=3038982ea4d46e1562a4e88029199ca09153a839;hpb=9f7d2fac648dbdba81e007f08ba3fbbb33c273b9 diff --git a/test/charmap/test2.sh b/test/charmap/test2.sh index 2b7861c..c704c9f 100755 --- a/test/charmap/test2.sh +++ b/test/charmap/test2.sh @@ -1,13 +1,17 @@ #!/bin/sh +# $id$ + +pp=${srcdir:-"."} + LOG=test2.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 # search for UNICODE 1E25 - letter h with dot below ../api/testclient unix:socket '@term string ḥ' >tmp1