changeset 4663:dbd828ae28db

7127448: Regression test scripts for policytool need to recognize Mac OS X Reviewed-by: michaelm, swingler, weijun
author juh
date Wed, 18 Jan 2012 16:23:17 +0000
parents d0a56328cb69
children dfa991721457
files test/sun/security/tools/policytool/Alias.sh test/sun/security/tools/policytool/ChangeUI.sh test/sun/security/tools/policytool/OpenPolicy.sh test/sun/security/tools/policytool/SaveAs.sh test/sun/security/tools/policytool/UpdatePermissions.sh test/sun/security/tools/policytool/UsePolicy.sh test/sun/security/tools/policytool/i18n.sh
diffstat 7 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/security/tools/policytool/Alias.sh	Wed Jan 18 16:15:34 2012 +0000
+++ b/test/sun/security/tools/policytool/Alias.sh	Wed Jan 18 16:23:17 2012 +0000
@@ -23,8 +23,8 @@
 
 # @test
 # @bug 4449491
-# @summary policytool should allow principal type to be empty 
-#		(keystore alias substitution)
+# @summary policytool should allow principal type to be empty
+#               (keystore alias substitution)
 #
 # @run applet/manual=done Alias.html
 # @run shell Alias.sh
@@ -47,7 +47,7 @@
 # set platform-dependent variables
 OS=`uname -s`
 case "$OS" in
-  SunOS | Linux )
+  SunOS | Linux | Darwin )
     NULL=/dev/null
     PS=":"
     FS="/"
--- a/test/sun/security/tools/policytool/ChangeUI.sh	Wed Jan 18 16:15:34 2012 +0000
+++ b/test/sun/security/tools/policytool/ChangeUI.sh	Wed Jan 18 16:23:17 2012 +0000
@@ -46,7 +46,7 @@
 # set platform-dependent variables
 OS=`uname -s`
 case "$OS" in
-  SunOS | Linux )
+  SunOS | Linux | Darwin )
     NULL=/dev/null
     PS=":"
     FS="/"
--- a/test/sun/security/tools/policytool/OpenPolicy.sh	Wed Jan 18 16:15:34 2012 +0000
+++ b/test/sun/security/tools/policytool/OpenPolicy.sh	Wed Jan 18 16:23:17 2012 +0000
@@ -46,7 +46,7 @@
 # set platform-dependent variables
 OS=`uname -s`
 case "$OS" in
-  SunOS | Linux )
+  SunOS | Linux | Darwin )
     NULL=/dev/null
     PS=":"
     FS="/"
--- a/test/sun/security/tools/policytool/SaveAs.sh	Wed Jan 18 16:15:34 2012 +0000
+++ b/test/sun/security/tools/policytool/SaveAs.sh	Wed Jan 18 16:23:17 2012 +0000
@@ -24,7 +24,7 @@
 # @test
 # @bug 4252583
 # @summary policytool throws FileNotFoundException when user tries to
-#		save new policy file
+#               save new policy file
 #
 # @run applet/manual=done SaveAs.html
 # @run shell SaveAs.sh
@@ -47,7 +47,7 @@
 # set platform-dependent variables
 OS=`uname -s`
 case "$OS" in
-  SunOS | Linux )
+  SunOS | Linux | Darwin )
     NULL=/dev/null
     PS=":"
     FS="/"
--- a/test/sun/security/tools/policytool/UpdatePermissions.sh	Wed Jan 18 16:15:34 2012 +0000
+++ b/test/sun/security/tools/policytool/UpdatePermissions.sh	Wed Jan 18 16:23:17 2012 +0000
@@ -46,7 +46,7 @@
 # set platform-dependent variables
 OS=`uname -s`
 case "$OS" in
-  SunOS | Linux )
+  SunOS | Linux | Darwin )
     NULL=/dev/null
     PS=":"
     FS="/"
--- a/test/sun/security/tools/policytool/UsePolicy.sh	Wed Jan 18 16:15:34 2012 +0000
+++ b/test/sun/security/tools/policytool/UsePolicy.sh	Wed Jan 18 16:23:17 2012 +0000
@@ -46,7 +46,7 @@
 # set platform-dependent variables
 OS=`uname -s`
 case "$OS" in
-  SunOS | Linux )
+  SunOS | Linux | Darwin )
     NULL=/dev/null
     PS=":"
     FS="/"
--- a/test/sun/security/tools/policytool/i18n.sh	Wed Jan 18 16:15:34 2012 +0000
+++ b/test/sun/security/tools/policytool/i18n.sh	Wed Jan 18 16:23:17 2012 +0000
@@ -46,7 +46,7 @@
 # set platform-dependent variables
 OS=`uname -s`
 case "$OS" in
-  SunOS | Linux )
+  SunOS | Linux | Darwin )
     NULL=/dev/null
     PS=":"
     FS="/"