8130351: JDK-8130127.js fails under cygwin: cygwin path pased to Java

Jjs uses jline which expects newline character to terminate interactive input

Reviewed-by: sundar, jlaskey
This commit is contained in:
Srinivas Dama 2016-12-01 08:12:06 -08:00 committed by Athijegannathan Sundararajan
parent 43c9c49b29
commit 18a725ff0c
3 changed files with 9 additions and 8 deletions
nashorn/test/script

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -51,5 +51,5 @@ print($EXEC(jjsCmd, null))
print($EXEC(jjsCmd, undefined))
print($EXEC(jjsCmd, ""))
print($EXEC(jjs, "print('hello')"))
print($EXEC(jjs, "print('hello')\n"))

@ -0,0 +1,7 @@
jjs> print('hello')
hello
jjs>