#!/bin/sh
+# $Id: test2.sh,v 1.5 2004-09-27 10:44:50 adam Exp $
+
+pp=${srcdir:-"."}
+
LOG=test2.log
-if ../../index/zebraidx -l $LOG -V|grep Tcl >/dev/null; then
- ../../index/zebraidx -l $LOG init
- ../../index/zebraidx -l $LOG -s -t grs.tcl.m update m.rec | grep tag:dc:subject >/dev/null
+
+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