7076756: TEST_BUG: com/sun/jdi/BreakpointWithFullGC.sh fails to cleanup in Cygwin
Reviewed-by: alanb, dcubed
--- a/jdk/test/com/sun/jdi/ShellScaffold.sh Tue Aug 09 16:39:04 2011 +0100
+++ b/jdk/test/com/sun/jdi/ShellScaffold.sh Tue Aug 09 16:59:44 2011 +0100
@@ -250,6 +250,7 @@
isCygwin=
case "$osname" in
Windows* | CYGWIN*)
+ devnull=NUL
if [ "$osname" = Windows_98 -o "$osname" = Windows_ME ]; then
isWin98=1
debuggeeKeyword='we_cant_kill_debuggees_on_win98'
@@ -259,6 +260,7 @@
case "$osname" in
CYGWIN*)
isCygwin=1
+ devnull=/dev/null
;;
esac
@@ -269,7 +271,6 @@
transport=dt_socket
address=
fi
- devnull=NUL
baseArgs="$baseArgs -XX:-ShowMessageBoxOnError"
# jtreg puts \\s in TESTCLASSES and some uses, eg. echo
# treat them as control chars on mks (eg \t is tab)