Moved the test sequences (old t[1-8].sh) into more consistent scripts
[idzebra-moved-to-github.git] / test / gils / t2.sh
1 echo "killing old server (if any)..."
2 test -f zebrasrv.pid && kill -9 `cat zebrasrv.pid`
3 rm -f zebrasrv.pid
4 rm -f srv.log
5 echo "starting server..."
6 ../../index/zebrasrv -S -c zebra1.cfg -l srv.log tcp:@:9901 &
7 sleep 1
8 echo "cheking it runs..."
9 test -f zebrasrv.pid || exit 1
10 echo "ok"