X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fusmarc%2Ftest.sh;h=a9abe017563ef970dc22a6bd1cd3925523216f59;hb=ba9a1dffee09bca88d8352a9fb15bd185e7679a8;hp=4795a88bdca3e3ac4312f2266c0610b948c6f305;hpb=6cb93fe44be70d87286dc68385efdf9563e1849f;p=idzebra-moved-to-github.git diff --git a/test/usmarc/test.sh b/test/usmarc/test.sh index 4795a88..a9abe01 100755 --- a/test/usmarc/test.sh +++ b/test/usmarc/test.sh @@ -1,3 +1,12 @@ -: -../../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 init + ../../index/zebraidx update records +fi +echo Starting Server +if [ -x ../../index/zebrasrv ]; then + ../../index/zebrasrv +fi