# HG changeset patch # User coleenp # Date 1346266145 14400 # Node ID 83b6305a5638e9e5fc8c798321f8c548b2c82af4 # Parent 7f813940ac357f156e283b6858b88cc555384ec7 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 diff -r 7f813940ac35 -r 83b6305a5638 test/compiler/6894807/Test6894807.sh --- a/test/compiler/6894807/Test6894807.sh Tue Aug 28 15:24:39 2012 -0700 +++ b/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; diff -r 7f813940ac35 -r 83b6305a5638 test/gc/6941923/test6941923.sh --- a/test/gc/6941923/test6941923.sh Tue Aug 28 15:24:39 2012 -0700 +++ b/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 ;; diff -r 7f813940ac35 -r 83b6305a5638 test/runtime/6626217/Test6626217.sh --- a/test/runtime/6626217/Test6626217.sh Tue Aug 28 15:24:39 2012 -0700 +++ b/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; diff -r 7f813940ac35 -r 83b6305a5638 test/runtime/6878713/Test6878713.sh --- a/test/runtime/6878713/Test6878713.sh Tue Aug 28 15:24:39 2012 -0700 +++ b/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; diff -r 7f813940ac35 -r 83b6305a5638 test/runtime/7020373/Test7020373.sh --- a/test/runtime/7020373/Test7020373.sh Tue Aug 28 15:24:39 2012 -0700 +++ b/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; diff -r 7f813940ac35 -r 83b6305a5638 test/runtime/7051189/Xchecksig.sh --- a/test/runtime/7051189/Xchecksig.sh Tue Aug 28 15:24:39 2012 -0700 +++ b/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 ;; diff -r 7f813940ac35 -r 83b6305a5638 test/runtime/7110720/Test7110720.sh --- a/test/runtime/7110720/Test7110720.sh Tue Aug 28 15:24:39 2012 -0700 +++ b/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; diff -r 7f813940ac35 -r 83b6305a5638 test/runtime/7158800/Test7158800.sh --- a/test/runtime/7158800/Test7158800.sh Tue Aug 28 15:24:39 2012 -0700 +++ b/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; diff -r 7f813940ac35 -r 83b6305a5638 test/runtime/7158988/TestFieldMonitor.sh --- a/test/runtime/7158988/TestFieldMonitor.sh Tue Aug 28 15:24:39 2012 -0700 +++ b/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;