X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fgils%2Ftest.sh;h=bb6f32497668685bc9be6b8bdcc6e465676bee5d;hb=23b1af194b14847f3ba187e3c5c3015797ad3c4a;hp=0ddc04680ad84fb7a7fdb329a377d85816a64b7f;hpb=aad54b136f5e842bb1ba2e1dfd7736f8de90ef8c;p=idzebra-moved-to-github.git diff --git a/test/gils/test.sh b/test/gils/test.sh index 0ddc046..bb6f324 100755 --- a/test/gils/test.sh +++ b/test/gils/test.sh @@ -1,15 +1,13 @@ -: -echo Loading Records -if [ -x ../../index/zmbolidx ]; then - ../../index/zmbolidx -t grs.sgml update records -fi -if [ -x ../../index/zebraidx ]; then - ../../index/zebraidx -t grs.sgml update records +#!/bin/sh +# $Id: test.sh,v 1.8 2003-05-06 17:39:01 adam Exp $ +if [ -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 ../../index/zmbolsrv ]; then - ../../index/zmbolsrv -fi -if [ -x ../../index/zebrasrv ]; then - ../../index/zebrasrv -fi +$SRV