jdk/test/javax/script/CommonSetup.sh
changeset 12047 320a714614e9
parent 9035 1255eb81cc2f
child 14342 8435a30053c1
--- a/jdk/test/javax/script/CommonSetup.sh	Tue Mar 06 10:25:45 2012 +0800
+++ b/jdk/test/javax/script/CommonSetup.sh	Tue Mar 06 20:34:38 2012 +0000
@@ -36,11 +36,7 @@
 
 OS=`uname -s`
 case "$OS" in
-  SunOS )
-    PS=":"
-    FS="/"
-    ;;
-  Linux )
+  SunOS | Linux | Darwin )
     PS=":"
     FS="/"
     ;;
@@ -72,7 +68,7 @@
   echo "TESTSRC not set.  Test cannot execute.  Failed."
   exit 1
 fi
- 
+
 if [ "${TESTCLASSES}" = "" ]
 then
   echo "TESTCLASSES not set.  Test cannot execute.  Failed."