Test script creates tmp and lock if necessary.
[idzebra-moved-to-github.git] / test / usmarc / test.sh
1 #!/bin/sh
2 test -d tmp || mkdir tmp
3 test -d lock || mkdir lock
4 echo Loading Records
5 if [ -x ../../index/zmbolidx ]; then
6         ../../index/zmbolidx update records
7 fi
8 if [ -x ../../index/zebraidx ]; then
9         ../../index/zebraidx update records
10 fi
11 echo Starting Server
12 if [ -x ../../index/zmbolsrv ]; then
13         ../../index/zmbolsrv
14 fi
15 if [ -x ../../index/zebrasrv ]; then
16         ../../index/zebrasrv
17 fi