changeset 10048:b84aa47bbe0e

8044647: sun/tools/jrunscript/jrunscriptTest.sh start failing: Output of jrunscript -l nashorn differ from expected output Reviewed-by: jlaskey, lagergren, ksrini
author sundar
date Tue, 03 Jun 2014 21:21:32 +0530
parents b84c163b9598
children a63eb531f049
files test/sun/tools/jrunscript/jrunscriptTest.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/tools/jrunscript/jrunscriptTest.sh	Tue Jun 03 18:31:13 2014 +0400
+++ b/test/sun/tools/jrunscript/jrunscriptTest.sh	Tue Jun 03 21:21:32 2014 +0530
@@ -42,7 +42,7 @@
 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');