X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftest_solr.sh;h=8b08bb3acfd11c010fccdefc9432f40641792c7f;hb=edd733fc15f1555c460c1d68d5c8010b30eb80d6;hp=b6c74e2ed1961cc894e5d5697aaa04d9eaea7370;hpb=a6fe306bff3150090c4c4d8a1662b01e2fd3c754;p=pazpar2-moved-to-github.git diff --git a/test/test_solr.sh b/test/test_solr.sh index b6c74e2..8b08bb3 100755 --- a/test/test_solr.sh +++ b/test/test_solr.sh @@ -1,29 +1,11 @@ #!/bin/sh +# +TEST=`basename $0 .sh` # srcdir might be set by make srcdir=${srcdir:-"."} -TEST=`basename $0 .sh` - -#TODO set up solr target. For now use donut -#F=../solr/client.sh -# -#rm -f solr.pid -#$F -l solr.log -p ztest.pid -D @:9999 -#sleep 1 -#if test ! -f ztest.pid; then -# echo "yaz-ztest could not be started" -# exit 0 -#fi - -E=0 -if test -x ../src/pazpar2; then - if ../src/pazpar2 -V |grep icu:enabled >/dev/null; then - ${srcdir}/run_pazpar2.sh $TEST - E=$? - fi -fi -exit $E +exec ${srcdir}/run_pazpar2.sh --icu $TEST # Local Variables: # mode:shell-script