More updates to allow tests when builddir != srcdir.
[idzebra-moved-to-github.git] / test / malxml / test1.sh
1 #!/bin/sh
2 # $Id: test1.sh,v 1.4 2004-06-15 08:06:34 adam Exp $
3
4 pp=${srcdir:-"."}
5
6 LOG=test1.log
7
8 rm -f $LOG
9 if ../../index/zebraidx -l $LOG -V|grep Expat >/dev/null; then
10         ../../index/zebraidx -c $pp/zebra.cfg -l$LOG init
11 else
12         exit 0
13 fi
14 ../../index/zebraidx -c $pp/zebra.cfg -l $LOG update f1.xml