6954517: Testcase failure tools/launcher/UnicodeTest.sh

Reviewed-by: ksrini
This commit is contained in:
Kelly O'Hair 2010-07-07 10:17:36 -07:00
parent 5ab764cefb
commit 2b8c80bc91

View File

@ -54,7 +54,11 @@ mkdir UnicodeTest-src UnicodeTest-classes
echo "creating test source files"
"$JAVAC" -d . "${TESTSRC}"/UnicodeTest.java
CLASS_NAME=`"$JAVA" UnicodeTest | sed -e 's@\\r@@g' `
if [ "`uname -s | grep CYGWIN`" != "" ] ; then
CLASS_NAME=`"$JAVA" UnicodeTest | sed -e 's@\\r@@g' `
else
CLASS_NAME=`"$JAVA" UnicodeTest`
fi
if [ "$CLASS_NAME" = "" ]
then