X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fgils%2Ftiming1.sh;h=5fd284d5b51324abfbf9d1abf2e1025736c4fa20;hb=e93e9d110b6bb2596e011de5fb0c8825ac2fe2b2;hp=3905e3cb677bb1d63c51f2483d621d449d38fd98;hpb=1c2e551dbdc6e631d19a405e2dbda45a234632f8;p=idzebra-moved-to-github.git diff --git a/test/gils/timing1.sh b/test/gils/timing1.sh index 3905e3c..5fd284d 100755 --- a/test/gils/timing1.sh +++ b/test/gils/timing1.sh @@ -1,12 +1,14 @@ -# timing1.sh - tests that updates are reflected immediately -# in the registers. Repeatedly modifies a record and counts hits. +#!/bin/sh +# $Id: timing1.sh,v 1.4 2003-05-06 17:39:01 adam Exp $ +# tests that updates are reflected immediately # in the registers. +# Repeatedly modifies a record and counts hits. # Test 1: with good sleeps in every between - should pass always echo "Testing timings of updates" echo " init..." rm -f idx.log log rm -f records/esdd000[12].grs # these should not be here, will be created later -../../index/zebraidx -l idx.log init || exit 1 +../../index/zebraidx -c zebra2.cfg -l idx.log init || exit 1 echo " killing old server (if any)..." test -f zebrasrv.pid && kill -9 `cat zebrasrv.pid`