8044647: sun/tools/jrunscript/jrunscriptTest.sh start failing: Output of jrunscript -l nashorn differ from expected output

Reviewed-by: jlaskey, lagergren, ksrini
This commit is contained in:
Athijegannathan Sundararajan 2014-06-03 21:21:32 +05:30
parent b9b322467f
commit fba8040fb3

View File

@ -42,7 +42,7 @@ fi
rm -f jrunscriptTest.out 2>/dev/null
${JRUNSCRIPT} -J-Djava.awt.headless=true -l nashorn > jrunscriptTest.out 2>&1 <<EOF
v = 2 + 5;
v *= 5;
v *= 5; v.doubleValue();
v = v + " is the value";
if (v != 0) { println('yes v != 0'); }
java.lang.System.out.println('hello world from script');