X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fmarcxml%2Ftest1.sh;h=284ad25c9ba814b6916e1488050ce0cbfd6a44e9;hb=3038982ea4d46e1562a4e88029199ca09153a839;hp=58bb3884eeed0668273ef2ce0902b9de742dd222;hpb=91552c9a8ba370242cb3dc478c3bcc9351262493;p=idzebra-moved-to-github.git diff --git a/test/marcxml/test1.sh b/test/marcxml/test1.sh index 58bb388..284ad25 100755 --- a/test/marcxml/test1.sh +++ b/test/marcxml/test1.sh @@ -1,13 +1,19 @@ #!/bin/sh +# $Id: test1.sh,v 1.3 2004-06-15 08:06:34 adam Exp $ + +pp=${srcdir:-"."} + LOG=test1.log +DBG="-v 1647" + 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 $DBG init else exit 0 fi -../../index/zebraidx -l$LOG update m*.xml -../../index/zebrasrv -l$LOG unix:socket & +../../index/zebraidx -c $pp/zebra.cfg -l $LOG $DBG update m*.xml +../../index/zebrasrv -c $pp/zebra.cfg -l $LOG $DBG unix:socket & sleep 1 ../api/testclient unix:socket '@and @attr 1=1003 jack @attr 1=4 computer' >tmp1 echo 'Result count: 2' >tmp2