nashorn/test/script/nosecurity/JDK-8144221.js.EXPECTED
author mhaupt
Mon, 14 Dec 2015 14:02:59 +0100
changeset 34731 585a112b3719
permissions -rw-r--r--
8144221: fix Nashorn shebang argument handling on Mac/Linux Reviewed-by: jlaskey, lagergren

<<<  >>>
* noargs via shebang
S:

* noargs via jjs
S:

* withargs via shebang
S:a.js,hello world

* withargs via jjs
S:a.js,hello world

<<< --language=es6 >>>
* noargs via shebang
S:

* noargs via jjs
S:

* withargs via shebang
S:a.js,hello world

* withargs via jjs
S:a.js,hello world

<<< --language=es6 -scripting >>>
* noargs via shebang
S:

* noargs via jjs
S:

* withargs via shebang
S:a.js,hello world

* withargs via jjs
S:a.js,hello world

<<< -scripting a.js >>>
* noargs via shebang
A:
S:

* noargs via jjs
S:

* withargs via shebang
A:
S:
A:
java.io.IOException: hello world is not a file
* withargs via jjs
S:a.js,hello world

<<< -scripting b.js >>>
* noargs via shebang
B:./shebang.js

* noargs via jjs
S:

* withargs via shebang
B:./shebang.js,a.js,hello world

* withargs via jjs
S:a.js,hello world