Added Ids. Better logging
[idzebra-moved-to-github.git] / test / dmoz / update.sh
index 1835eeb..f8a0872 100755 (executable)
@@ -1,14 +1,15 @@
 #!/bin/sh
+# $Id: update.sh,v 1.2 2002-06-19 08:32:34 adam Exp $
 t=$1
 test -n "$t" || exit 1
 rm -f *.mf *.LCK *.tmp
 ../../index/zebraidx -l zebraidx.log init 
 i=0
-rm -f times-$t.log
+rm -f times-$t.log zebraidx-$t.log
 while test -f dmoz.$i.xml; do
        echo -n "$i " >>times-$1.log
-       /usr/bin/time -f '%e %U %P' -a -o times-$t.log ../../index/zebraidx -l zebraidx.log -c zebra-$t.cfg -f 10 update dmoz.$i.xml
-       ../../index/zebraidx -l zebraidx.log -c zebra-$t.cfg stat
+       /usr/bin/time -f '%e %U %P' -a -o times-$t.log ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg -f 10 update dmoz.$i.xml
+       ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg stat
        i=`expr $i + 1`
        if test $i = 29; then
                break