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