8148040: jjs -fx test does not exit
authorhannesw
Fri, 22 Jan 2016 17:01:41 +0100
changeset 35329 069098445d1e
parent 35328 948477d1c359
child 35330 7cc832bade3c
8148040: jjs -fx test does not exit Reviewed-by: mhaupt, sundar
nashorn/test/script/nosecurity/jjs-option-fx.js
--- a/nashorn/test/script/nosecurity/jjs-option-fx.js	Fri Jan 22 11:12:26 2016 +0100
+++ b/nashorn/test/script/nosecurity/jjs-option-fx.js	Fri Jan 22 17:01:41 2016 +0100
@@ -35,7 +35,7 @@
 
 load(__DIR__ + "jjs-common.js")
 
-var msg_flag = "print(typeof($STAGE));";
+var msg_flag = "print(typeof($STAGE)); exit();";
 
 // flag test expected output variables
 var e_outn = "undefined"