mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-24 09:10:08 +00:00
7073626: RmiBootstrapTest.sh and RmiSslBootstrapTest.sh fail under Cygwin
Detect and handle cygwin correctly Reviewed-by: alanb, sspitsyn
This commit is contained in:
parent
cecb628970
commit
399194bb7a
@ -144,9 +144,6 @@ javax/management/loading/LibraryLoader/LibraryLoaderTest.java windows-all
|
||||
# 7144846
|
||||
javax/management/remote/mandatory/connection/ReconnectTest.java generic-all
|
||||
|
||||
# 7073626
|
||||
sun/management/jmxremote/bootstrap/RmiBootstrapTest.sh windows-all
|
||||
sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh windows-all
|
||||
|
||||
############################################################################
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2003, 2012, 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
|
||||
@ -34,6 +34,13 @@
|
||||
OS=`uname -s`
|
||||
UMASK=`umask`
|
||||
|
||||
if [[ $OS == CYGWIN_NT* ]] ; then
|
||||
OS="Windows_NT"
|
||||
if [ -z "$SystemRoot" ] ; then
|
||||
SystemRoot=$SYSTEMROOT
|
||||
fi
|
||||
fi
|
||||
|
||||
case $OS in
|
||||
SunOS | Linux)
|
||||
PATHSEP=":"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user