< prev index next >

test/jdk/javax/security/auth/Subject/doAs/Test.sh

Print this page
rev 59107 : imported patch security


  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 # @test 1.1, 02/14/01
  27 # @author  Ram Marti
  28 # @bug 4399067
  29 # @summary Subject.doAs(null, action) does not clear the executing
  30 #
  31 # ${TESTJAVA} is pointing to the jre
  32 #
  33 # set platform-dependent variables
  34 OS=`uname -s`
  35 case "$OS" in
  36   SunOS )
  37     PS=":"
  38     FS="/"
  39     RM="/bin/rm -f"
  40     ;;
  41   Linux )
  42     PS=":"
  43     FS="/"
  44     RM="/bin/rm -f"
  45     ;;
  46   Darwin )
  47     PS=":"
  48     FS="/"
  49     RM="/bin/rm -f"
  50     ;;
  51   AIX )
  52     PS=":"
  53     FS="/"
  54     RM="/bin/rm -f"
  55     ;;
  56   CYGWIN* )
  57     PS=";"
  58     FS="/"
  59     RM="rm"
  60     ;;




  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 # @test 1.1, 02/14/01
  27 # @author  Ram Marti
  28 # @bug 4399067
  29 # @summary Subject.doAs(null, action) does not clear the executing
  30 #
  31 # ${TESTJAVA} is pointing to the jre
  32 #
  33 # set platform-dependent variables
  34 OS=`uname -s`
  35 case "$OS" in





  36   Linux )
  37     PS=":"
  38     FS="/"
  39     RM="/bin/rm -f"
  40     ;;
  41   Darwin )
  42     PS=":"
  43     FS="/"
  44     RM="/bin/rm -f"
  45     ;;
  46   AIX )
  47     PS=":"
  48     FS="/"
  49     RM="/bin/rm -f"
  50     ;;
  51   CYGWIN* )
  52     PS=";"
  53     FS="/"
  54     RM="rm"
  55     ;;


< prev index next >