From 0a2c31b75d74a252aaad2db0de69647ab7574c51 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Fri, 25 Feb 2011 22:07:34 +0000 Subject: [PATCH] tests: include UTF8 output test git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1074715 13f79535-47bb-0310-9956-ffa450edef68 --- solr/example/exampledocs/test_utf8.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/solr/example/exampledocs/test_utf8.sh b/solr/example/exampledocs/test_utf8.sh index bf625e53fd6..0190ff27970 100755 --- a/solr/example/exampledocs/test_utf8.sh +++ b/solr/example/exampledocs/test_utf8.sh @@ -81,3 +81,11 @@ else echo "ERROR: HTTP POST + URL params is not accepting UTF-8 beyond the basic multilingual plane" fi +curl "$URL/select?q=$URL_UTF8&echoParams=explicit&wt=json" 2> /dev/null | od -tx1 -w1000 | sed 's/ //g' | grep 'f4808198' > /dev/null 2>&1 +if [ $? = 0 ]; then + echo "Response can return UTF-8 beyond the basic multilingual plane" +else + echo "ERROR: Response can't return UTF-8 beyond the basic multilingual plane" +fi + +