Zebra now works with make distcheck
[idzebra-moved-to-github.git] / test / xpath / test1.sh
index 5806a0a..d2b5206 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
-rm -f test1.log
-../../index/zebraidx -l test1.log init || exit 1
-../../index/zebraidx -l test1.log -t grs.sgml update rec || exit 2
+# $Id: test1.sh,v 1.5 2004-06-15 09:43:34 adam Exp $
+
+pp=${srcdir:-"."}
+
+LOG=test1.log
+rm -f $LOG
+../../index/zebraidx -c $pp/zebra.cfg -l $LOG init || exit 1
+../../index/zebraidx -c $pp/zebra.cfg -l $LOG -t grs.sgml update $pp/rec.xml || exit 2