X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=test%2Fcharmap%2Ftest1.sh;h=2820b1ae81bcc7a5a2d58cdd9eab53ceab6a9fae;hb=a3722408557fb93c2ec20233c041b20c7d7fb035;hp=501057d87ffb4128ce0f88dda94c02bc574fbcf8;hpb=2dd8bfd275211ec1c984b93562c2085ae87040e0;p=idzebra-moved-to-github.git diff --git a/test/charmap/test1.sh b/test/charmap/test1.sh index 501057d..2820b1a 100755 --- a/test/charmap/test1.sh +++ b/test/charmap/test1.sh @@ -1,14 +1,19 @@ #!/bin/sh +# $Id: test1.sh,v 1.3.2.1 2005-03-11 21:10:12 adam Exp $ + +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 $pp/*.xml +../../index/zebrasrv -c $pp/zebra.cfg -l$LOG unix:socket & sleep 1 +# ae ../api/testclient unix:socket '@term string æ' >tmp1 echo 'Result count: 1' >tmp2 kill `cat zebrasrv.pid` || exit 1