X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fgils%2Ftest.sh;h=8155338ec679fe41110b9429a3ab6f05cb3cc801;hb=6e89ec34f77c7085a3c95b7e63fce3a1040ed124;hp=7abd7cb42858a16bd5186a1dfc4f6e9f7e7c94b1;hpb=bceca936710690858ea162e7bc22de819f0e280f;p=idzebra-moved-to-github.git diff --git a/test/gils/test.sh b/test/gils/test.sh index 7abd7cb..8155338 100755 --- a/test/gils/test.sh +++ b/test/gils/test.sh @@ -1,5 +1,15 @@ -: +#!/bin/sh +if [ -x ../../index/zmbolidx ]; then + IDX=../../index/zmbolidx + SRV=../../index/zmbolsrv +elif [ -x ../../index/zebraidx ]; then + IDX=../../index/zebraidx + SRV=../../index/zebrasrv +else + echo "No indexer found" + exit 1 +fi echo Loading Records -../../index/zebraidx -t grs.sgml update records +$IDX -t grs.sgml update records echo Starting Server -../../index/zebrasrv +$SRV