More updates to allow tests when builddir != srcdir.
[idzebra-moved-to-github.git] / test / config / test1.sh
index 8a1b546..0c581bd 100755 (executable)
@@ -1,4 +1,8 @@
 #!/bin/sh
+# $Id: test1.sh,v 1.3 2004-06-15 08:06:34 adam Exp $
+
+pp=${srcdir:-"."}
+
 LOG=test1.log
-../../index/zebraidx -l $LOG init
-../../index/zebraidx -l $LOG update g.rec
+../../index/zebraidx -c $pp/zebra.cfg -l $LOG init
+../../index/zebraidx -c $pp/zebra.cfg -l $LOG update g.rec