test/tools/launcher/DefaultLocaleTest.sh

Print this page

        

@@ -52,11 +52,11 @@
             JAVAC="${TESTJAVA}/bin/javac -d . "
             JAVA="${TESTJAVA}/bin/java -classpath . "
             JAVAW="${TESTJAVA}/bin/javaw -classpath . "
 
             ${JAVAC} ${TESTSRC}/DefaultLocaleTest.java
-            props=`${JAVA} DefaultLocaleTest`
+            props=`${JAVA} DefaultLocaleTest | sed -e 's@\\r@@g' `
             ${JAVAW} DefaultLocaleTest $props
             if [ $? -ne 0 ]
             then
                 echo "Test fails"
                 exit 1