test/tools/launcher/UnicodeTest.sh

Print this page

        

@@ -52,11 +52,11 @@
 
 mkdir UnicodeTest-src UnicodeTest-classes
 
 echo "creating test source files"
 "$JAVAC" -d . "${TESTSRC}"/UnicodeTest.java
-CLASS_NAME=`"$JAVA" UnicodeTest`
+CLASS_NAME=`"$JAVA" UnicodeTest | sed -e 's@\\r@@g' `
 
 if [ "$CLASS_NAME" = "" ]
 then
   echo "CLASS_NAME not generated.  Test failed."
   exit 1