Implemented loadable filters.
[idzebra-moved-to-github.git] / test / config / test2.sh
index 3357251..23d8828 100755 (executable)
@@ -1,7 +1,13 @@
 #!/bin/sh
-if ../../index/zebraidx -V|grep Tcl >/dev/null; then
-       ../../index/zebraidx init
-       ../../index/zebraidx -s -t grs.tcl.m update m.rec | grep tag:dc:subject >/dev/null
+# $Id: test2.sh,v 1.5 2004-09-27 10:44:50 adam Exp $
+
+pp=${srcdir:-"."}
+
+LOG=test2.log
+
+if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG filters|grep grs.tcl >/dev/null; then
+       ../../index/zebraidx -c $pp/zebra.cfg -l $LOG init
+       ../../index/zebraidx -c $pp/zebra.cfg -l $LOG -s -t grs.tcl.m update $pp/m.rec | grep tag:dc:subject >/dev/null
 else
        exit 0
 fi