From a07f447c2312b6af6a818c82105343e21f743387 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 19 Jun 2002 08:32:34 +0000 Subject: [PATCH] Added Ids. Better logging --- test/dmoz/all.sh | 2 +- test/dmoz/fetch.sh | 1 + test/dmoz/update.sh | 7 ++++--- test/dmoz/zebra-b.cfg | 5 +---- test/dmoz/zebra-c.cfg | 5 +---- 5 files changed, 8 insertions(+), 12 deletions(-) diff --git a/test/dmoz/all.sh b/test/dmoz/all.sh index 36da4e8..7940d5d 100755 --- a/test/dmoz/all.sh +++ b/test/dmoz/all.sh @@ -1,5 +1,5 @@ #!/bin/sh -rm zebraidx.log +# $Id: all.sh,v 1.2 2002-06-19 08:32:34 adam Exp $ ./update.sh b ./update.sh c gnuplot plot.dem diff --git a/test/dmoz/fetch.sh b/test/dmoz/fetch.sh index 4b32ca4..d1eeca5 100755 --- a/test/dmoz/fetch.sh +++ b/test/dmoz/fetch.sh @@ -1,4 +1,5 @@ #!/bin/sh +# $Id: fetch.sh,v 1.2 2002-06-19 08:32:34 adam Exp $ if test ! -f content.rdf.u8; then wget http://dmoz.org/rdf/content.rdf.u8.gz gunzip content.rdf.u8.gz diff --git a/test/dmoz/update.sh b/test/dmoz/update.sh index 1835eeb..f8a0872 100755 --- a/test/dmoz/update.sh +++ b/test/dmoz/update.sh @@ -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 diff --git a/test/dmoz/zebra-b.cfg b/test/dmoz/zebra-b.cfg index baa9c1e..44a2bb4 100644 --- a/test/dmoz/zebra-b.cfg +++ b/test/dmoz/zebra-b.cfg @@ -1,7 +1,4 @@ -# Simple Zebra configuration file -# $Id: zebra-b.cfg,v 1.1 2002-06-19 08:28:55 adam Exp $ -# -# Where the schema files, attribute files, etc are located. +# $Id: zebra-b.cfg,v 1.2 2002-06-19 08:32:34 adam Exp $ profilePath: .:../../tab:../../../yaz/tab # Files that describe the attribute sets supported. diff --git a/test/dmoz/zebra-c.cfg b/test/dmoz/zebra-c.cfg index 7229218..dd8ddca 100644 --- a/test/dmoz/zebra-c.cfg +++ b/test/dmoz/zebra-c.cfg @@ -1,7 +1,4 @@ -# Simple Zebra configuration file -# $Id: zebra-c.cfg,v 1.1 2002-06-19 08:28:55 adam Exp $ -# -# Where the schema files, attribute files, etc are located. +# $Id: zebra-c.cfg,v 1.2 2002-06-19 08:32:34 adam Exp $ profilePath: .:../../tab:../../../yaz/tab # Files that describe the attribute sets supported. -- 1.7.10.4