jdk-24/nashorn/test/script/nosecurity/JDK-8144221.js.EXPECTED
Michael Haupt 64634dc9a4 8144221: fix Nashorn shebang argument handling on Mac/Linux
Reviewed-by: jlaskey, lagergren
2015-12-14 14:02:59 +01:00

69 lines
818 B
Plaintext

<<< >>>
* 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