X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fgils%2Ftest.sh;h=bba92f497095b4ee1e5cfd204aa00a725acd1030;hb=c00bfddbf0f3608340d61298acc61dafb167f9b2;hp=1fab7263e838ba3606e94099b2c7a20810b6e31f;hpb=e150e51a7e20a902e9fd2f11f00811f94f67d529;p=idzebra-moved-to-github.git diff --git a/test/gils/test.sh b/test/gils/test.sh index 1fab726..bba92f4 100755 --- a/test/gils/test.sh +++ b/test/gils/test.sh @@ -1,5 +1,12 @@ -: +#!/bin/sh +if [ -x ../../index/zebraidx ]; then + IDX=../../index/zebraidx + SRV=../../index/zebrasrv +else + echo "No indexer found" + exit 1 +fi echo Loading Records -../../bin/zebraidx -t grs.sgml update records +$IDX -t grs.sgml update records echo Starting Server -../../bin/zebrasrv +$SRV