mirror of https://github.com/apache/lucene.git
SOLR-3889: improve utf-8 test script error message when curl call to Solr fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391046 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4265df1368
commit
94da721fc2
|
@ -27,7 +27,7 @@ curl "$URL/select?q=hello¶ms=explicit&wt=python" 2> /dev/null | grep 'hello'
|
||||||
if [ $? = 0 ]; then
|
if [ $? = 0 ]; then
|
||||||
echo "Solr server is up."
|
echo "Solr server is up."
|
||||||
else
|
else
|
||||||
echo "ERROR: Solr is not up."
|
echo "ERROR: Could not curl to Solr - is curl installed? Is Solr not running?"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue