X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fusmarc%2Ftest.sh;h=48c8ee79520150d32a632535d35f23c0045d7aaa;hb=97a7adeb9e5059463f039495cc01cfa448463a27;hp=4795a88bdca3e3ac4312f2266c0610b948c6f305;hpb=6cb93fe44be70d87286dc68385efdf9563e1849f;p=idzebra-moved-to-github.git diff --git a/test/usmarc/test.sh b/test/usmarc/test.sh index 4795a88..48c8ee7 100755 --- a/test/usmarc/test.sh +++ b/test/usmarc/test.sh @@ -1,3 +1,11 @@ -: -../../index/zebraidx update records -../../index/zebrasrv +#!/bin/sh +test -d tmp || mkdir tmp +test -d lock || mkdir lock +echo Loading Records +if [ -x ../../index/zebraidx ]; then + ../../index/zebraidx update records +fi +echo Starting Server +if [ -x ../../index/zebrasrv ]; then + ../../index/zebrasrv +fi