From 6401f3040d9eaac362220a6d63b1d979b611490e Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Tue, 1 Nov 2011 13:50:59 +0100 Subject: [PATCH] Add new test solr spellcheck test. Not added to dist test for now. --- test/test_solr_spell.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 test/test_solr_spell.sh diff --git a/test/test_solr_spell.sh b/test/test_solr_spell.sh new file mode 100755 index 0000000..6f2961f --- /dev/null +++ b/test/test_solr_spell.sh @@ -0,0 +1,28 @@ +#!/bin/sh + +# srcdir might be set by make +srcdir=${srcdir:-"."} + +#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 + +${srcdir}/run_pazpar2.sh test_solr_spell +E=$? + +#kill `cat ztest.pid` +#rm ztest.pid +exit $E + +# Local Variables: +# mode:shell-script +# sh-indentation: 2 +# sh-basic-offset: 4 +# End: -- 1.7.10.4