test/sun/security/tools/policytool/i18n.sh

Print this page
rev 8975 : 8028537: PPC64: Updated the JDK regression tests to run on AIX
Reviewed-by: alanb
Contributed-by: luchsh@linux.vnet.ibm.com, spoole@linux.vnet.ibm.com, volker.simonis@gmail.com


  32 # @run shell/timeout=1200 i18n.sh
  33 # @run applet/manual=yesno i18n.html
  34 
  35 # set a few environment variables so that the shell-script can run stand-alone
  36 # in the source directory
  37 if [ "${TESTSRC}" = "" ] ; then
  38   TESTSRC="."
  39 fi
  40 if [ "${TESTCLASSES}" = "" ] ; then
  41   TESTCLASSES="."
  42 fi
  43 if [ "${TESTJAVA}" = "" ] ; then
  44   echo "TESTJAVA not set.  Test cannot execute."
  45   echo "FAILED!!!"
  46   exit 1
  47 fi
  48 
  49 # set platform-dependent variables
  50 OS=`uname -s`
  51 case "$OS" in
  52   SunOS | Linux | Darwin )
  53     NULL=/dev/null
  54     PS=":"
  55     FS="/"
  56     ;;
  57   CYGWIN* )
  58     NULL=/dev/null
  59     PS=";"
  60     FS="/"
  61     ;;
  62   Windows* )
  63     NULL=NUL
  64     PS=";"
  65     FS="\\"
  66     ;;
  67   * )
  68     echo "Unrecognized system!"
  69     exit 1;
  70     ;;
  71 esac
  72 




  32 # @run shell/timeout=1200 i18n.sh
  33 # @run applet/manual=yesno i18n.html
  34 
  35 # set a few environment variables so that the shell-script can run stand-alone
  36 # in the source directory
  37 if [ "${TESTSRC}" = "" ] ; then
  38   TESTSRC="."
  39 fi
  40 if [ "${TESTCLASSES}" = "" ] ; then
  41   TESTCLASSES="."
  42 fi
  43 if [ "${TESTJAVA}" = "" ] ; then
  44   echo "TESTJAVA not set.  Test cannot execute."
  45   echo "FAILED!!!"
  46   exit 1
  47 fi
  48 
  49 # set platform-dependent variables
  50 OS=`uname -s`
  51 case "$OS" in
  52   SunOS | Linux | Darwin | AIX )
  53     NULL=/dev/null
  54     PS=":"
  55     FS="/"
  56     ;;
  57   CYGWIN* )
  58     NULL=/dev/null
  59     PS=";"
  60     FS="/"
  61     ;;
  62   Windows* )
  63     NULL=NUL
  64     PS=";"
  65     FS="\\"
  66     ;;
  67   * )
  68     echo "Unrecognized system!"
  69     exit 1;
  70     ;;
  71 esac
  72