Removed zebra_search_rpn. Updated a few tests
[idzebra-moved-to-github.git] / test / gils / timing2.sh
index 325a121..a9a692c 100755 (executable)
@@ -1,11 +1,12 @@
-# timing2.sh 
+#!/bin/sh
+# $Id: timing2.sh,v 1.5 2003-05-06 20:09:28 adam Exp $ 
 # Demonstrated that updates depend on file timestamps
 
 echo "Testing timings of updates"
 echo "  init..."
 rm -f idx.log log timeref[12]
 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
 touch timeref1  # make an early timestamp
 
 echo "  killing old server (if any)..."
@@ -63,10 +64,9 @@ grep "^Result count: 9$" log || exit 1
 
 echo "stopping server..."
 test -f zebrasrv.pid || exit 1
-kill -9 `cat zebrasrv.pid` || exit 1
+kill `cat zebrasrv.pid` || exit 1
 rm -f idx.log log timeref[12]
 rm -f records/esdd000[12].grs 
 rm -f zebrasrv.pid
 rm -f srv.log
 
-echo ok