X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fgils%2Ftest.sh;h=8155338ec679fe41110b9429a3ab6f05cb3cc801;hb=7015acd8e5d174585a19064a0bc7ce19c612591e;hp=01b9475c59460151cf41cffce2ce8d1beea11adb;hpb=fa07a1e944e47feeb9e58296659bb57c4c32bde7;p=idzebra-moved-to-github.git diff --git a/test/gils/test.sh b/test/gils/test.sh index 01b9475..8155338 100755 --- a/test/gils/test.sh +++ b/test/gils/test.sh @@ -1,15 +1,15 @@ -: -echo Loading Records -if [ -x ../../bin/zmbolidx ]; then - ../../bin/zmbolidx -t grs.sgml update records -fi -if [ -x ../../bin/zebraidx ]; then - ../../bin/zebraidx -t grs.sgml update records +#!/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 +$IDX -t grs.sgml update records echo Starting Server -if [ -x ../../bin/zmbolsrv ]; then - ../../bin/zmbolsrv -fi -if [ -x ../../bin/zebrasrv ]; then - ../../bin/zebrasrv -fi +$SRV