X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fmalxml%2Ftest1.sh;h=76158cef062dd1781a86493157218f2432dd4ea7;hb=6d2a90b3e3802726c044e128d1a34f5f892f9f3f;hp=6cda3016aee5f6de506b4cd9d4bf153bf0104fd3;hpb=91552c9a8ba370242cb3dc478c3bcc9351262493;p=idzebra-moved-to-github.git diff --git a/test/malxml/test1.sh b/test/malxml/test1.sh index 6cda301..76158ce 100755 --- a/test/malxml/test1.sh +++ b/test/malxml/test1.sh @@ -1,9 +1,14 @@ #!/bin/sh +# $Id: test1.sh,v 1.6 2004-09-27 10:44:51 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 filters|grep grs.xml >/dev/null; then + ../../index/zebraidx -c $pp/zebra.cfg -l$LOG init else exit 0 fi -../../index/zebraidx -l $LOG update f1.xml +../../index/zebraidx -c $pp/zebra.cfg -l $LOG update $pp/f1.xml