-# timing2.sh
-# 2: Test without sleeps, fails around step 1a or 1b.
-
-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
-
-echo " killing old server (if any)..."
-test -f zebrasrv.pid && kill -9 `cat zebrasrv.pid`
-rm -f zebrasrv.pid
-rm -f srv.log
-
-echo " starting server..."
-../../index/zebrasrv -S -c zebra2.cfg -l srv.log tcp:@:9901 &
-sleep 1
-test -f zebrasrv.pid || exit 1
-
-echo " update 1..."
-../../index/zebraidx -l idx.log -c zebra2.cfg update records || exit 1
-
-echo " search 1..."
-../testclient localhost:9901 "@attr 1=4 utah" > log || exit 1
-grep "^Result count: 9$" log || exit 1
-
-echo "making a test record..."
-cp records/esdd0006.grs records/esdd0002.grs