-# 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)..."
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