mirror of https://github.com/apache/lucene.git
tests: include UTF8 output test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1074715 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
da63e593ee
commit
0a2c31b75d
|
@ -81,3 +81,11 @@ else
|
||||||
echo "ERROR: HTTP POST + URL params is not accepting UTF-8 beyond the basic multilingual plane"
|
echo "ERROR: HTTP POST + URL params is not accepting UTF-8 beyond the basic multilingual plane"
|
||||||
fi
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue