7191926: Remove MKS dependency in Hotspot regression tests
Summary: Add case for CYGWIN in .sh files.
Reviewed-by: coleenp, kvn
Contributed-by: pavel.punegov@oracle.com
--- a/hotspot/test/compiler/6894807/Test6894807.sh Tue Aug 28 15:24:39 2012 -0700
+++ b/hotspot/test/compiler/6894807/Test6894807.sh Wed Aug 29 14:49:05 2012 -0400
@@ -31,6 +31,11 @@
PS=";"
FS="\\"
;;
+ CYGWIN_* )
+ NULL=/dev/null
+ PS=";"
+ FS="/"
+ ;;
* )
echo "Unrecognized system!"
exit 1;
--- a/hotspot/test/gc/6941923/test6941923.sh Tue Aug 28 15:24:39 2012 -0700
+++ b/hotspot/test/gc/6941923/test6941923.sh Wed Aug 29 14:49:05 2012 -0400
@@ -14,7 +14,7 @@
PS=":"
FS="/"
;;
- Windows_* )
+ Windows_* | CYGWIN_* )
echo "Test skipped for Windows"
exit 0
;;
--- a/hotspot/test/runtime/6626217/Test6626217.sh Tue Aug 28 15:24:39 2012 -0700
+++ b/hotspot/test/runtime/6626217/Test6626217.sh Wed Aug 29 14:49:05 2012 -0400
@@ -65,6 +65,14 @@
CP=cp
MV=mv
;;
+ CYGWIN_* )
+ NULL=/dev/null
+ PS=";"
+ FS="/"
+ RM=rm
+ CP=cp
+ MV=mv
+ ;;
* )
echo "Unrecognized system!"
exit 1;
--- a/hotspot/test/runtime/6878713/Test6878713.sh Tue Aug 28 15:24:39 2012 -0700
+++ b/hotspot/test/runtime/6878713/Test6878713.sh Wed Aug 29 14:49:05 2012 -0400
@@ -38,6 +38,11 @@
PS=";"
FS="\\"
;;
+ CYGWIN_* )
+ NULL=/dev/null
+ PS=";"
+ FS="/"
+ ;;
* )
echo "Unrecognized system!"
exit 1;
--- a/hotspot/test/runtime/7020373/Test7020373.sh Tue Aug 28 15:24:39 2012 -0700
+++ b/hotspot/test/runtime/7020373/Test7020373.sh Wed Aug 29 14:49:05 2012 -0400
@@ -40,6 +40,11 @@
PS=";"
FS="\\"
;;
+ CYGWIN_* )
+ NULL=/dev/null
+ PS=";"
+ FS="/"
+ ;;
* )
echo "Unrecognized system!"
exit 1;
--- a/hotspot/test/runtime/7051189/Xchecksig.sh Tue Aug 28 15:24:39 2012 -0700
+++ b/hotspot/test/runtime/7051189/Xchecksig.sh Wed Aug 29 14:49:05 2012 -0400
@@ -46,7 +46,7 @@
SunOS | Linux | Darwin )
FS="/"
;;
- Windows_* )
+ Windows_* | CYGWIN_* )
printf "Not testing libjsig.so on Windows. PASSED.\n "
exit 0
;;
--- a/hotspot/test/runtime/7110720/Test7110720.sh Tue Aug 28 15:24:39 2012 -0700
+++ b/hotspot/test/runtime/7110720/Test7110720.sh Wed Aug 29 14:49:05 2012 -0400
@@ -55,6 +55,12 @@
CP=cp
MV=mv
;;
+ CYGWIN_* )
+ FS="/"
+ RM=rm
+ CP=cp
+ MV=mv
+ ;;
* )
echo "Unrecognized system!"
exit 1;
--- a/hotspot/test/runtime/7158800/Test7158800.sh Tue Aug 28 15:24:39 2012 -0700
+++ b/hotspot/test/runtime/7158800/Test7158800.sh Wed Aug 29 14:49:05 2012 -0400
@@ -56,6 +56,11 @@
PS=";"
FS="\\"
;;
+ CYGWIN_* )
+ NULL=/dev/null
+ PS=";"
+ FS="/"
+ ;;
* )
echo "Unrecognized system!"
exit 1;
--- a/hotspot/test/runtime/7158988/TestFieldMonitor.sh Tue Aug 28 15:24:39 2012 -0700
+++ b/hotspot/test/runtime/7158988/TestFieldMonitor.sh Wed Aug 29 14:49:05 2012 -0400
@@ -38,6 +38,18 @@
PS=";"
FS="\\"
;;
+ CYGWIN_NT* )
+ NULL=/dev/null
+ PS=";"
+ FS="/"
+ ;;
+ CYGWIN_* )
+ NULL=/dev/null
+ PS=";"
+ FS="/"
+ echo "Test skipped, only for WinNT"
+ exit 0
+ ;;
* )
echo "Unrecognized system!"
exit 1;