More updates to allow tests when builddir != srcdir.
[idzebra-moved-to-github.git] / test / malxml / test1.sh
index 6cda301..a31a203 100755 (executable)
@@ -1,9 +1,14 @@
 #!/bin/sh
+# $Id: test1.sh,v 1.4 2004-06-15 08:06:34 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
+        ../../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 f1.xml