More updates to allow tests when builddir != srcdir.
[idzebra-moved-to-github.git] / test / config / test2.sh
1 #!/bin/sh
2 # $Id: test2.sh,v 1.3 2004-06-15 08:06:34 adam Exp $
3
4 pp=${srcdir:-"."}
5
6 LOG=test2.log
7
8 if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG -V|grep Tcl >/dev/null; then
9         ../../index/zebraidx -c $pp/zebra.cfg -l $LOG init
10         ../../index/zebraidx -c $pp/zebra.cfg -l $LOG -s -t grs.tcl.m update m.rec | grep tag:dc:subject >/dev/null
11 else
12         exit 0
13 fi