From 94da721fc291f51be1f6c005aff69f5432def771 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Thu, 27 Sep 2012 15:01:25 +0000 Subject: [PATCH] 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 --- solr/example/exampledocs/test_utf8.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/example/exampledocs/test_utf8.sh b/solr/example/exampledocs/test_utf8.sh index feabbdb4fb8..edfd9720602 100755 --- a/solr/example/exampledocs/test_utf8.sh +++ b/solr/example/exampledocs/test_utf8.sh @@ -27,7 +27,7 @@ curl "$URL/select?q=hello¶ms=explicit&wt=python" 2> /dev/null | grep 'hello' if [ $? = 0 ]; then echo "Solr server is up." else - echo "ERROR: Solr is not up." + echo "ERROR: Could not curl to Solr - is curl installed? Is Solr not running?" exit 1 fi