test/java/security/Security/signedfirst/Static.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


  45 
  46 if [ "${COMPILEJAVA}" = "" ]; then
  47    COMPILEJAVA="${TESTJAVA}"
  48 fi
  49 
  50 # set platform-dependent variables
  51 OS=`uname -s`
  52 case "$OS" in
  53   SunOS )
  54     PATHSEP=":"
  55     FILESEP="/"
  56     ;;
  57   Linux )
  58     PATHSEP=":"
  59     FILESEP="/"
  60     ;;
  61   Darwin )
  62     PATHSEP=":"
  63     FILESEP="/"
  64     ;;




  65   CYGWIN* )
  66     PATHSEP=";"
  67     FILESEP="/"
  68     ;;
  69   Windows* )
  70     PATHSEP=";"
  71     FILESEP="\\"
  72     ;;
  73   * )
  74     echo "Unrecognized system!"
  75     exit 1;
  76     ;;
  77 esac
  78 
  79 # remove old class files
  80 cd ${TESTCLASSES}${FILESEP}
  81 rm StaticSignedProvFirst.class
  82 
  83 # compile the test program
  84 ${COMPILEJAVA}${FILESEP}bin${FILESEP}javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} \


  45 
  46 if [ "${COMPILEJAVA}" = "" ]; then
  47    COMPILEJAVA="${TESTJAVA}"
  48 fi
  49 
  50 # set platform-dependent variables
  51 OS=`uname -s`
  52 case "$OS" in
  53   SunOS )
  54     PATHSEP=":"
  55     FILESEP="/"
  56     ;;
  57   Linux )
  58     PATHSEP=":"
  59     FILESEP="/"
  60     ;;
  61   Darwin )
  62     PATHSEP=":"
  63     FILESEP="/"
  64     ;;
  65   AIX )
  66     PATHSEP=":"
  67     FILESEP="/"
  68     ;;
  69   CYGWIN* )
  70     PATHSEP=";"
  71     FILESEP="/"
  72     ;;
  73   Windows* )
  74     PATHSEP=";"
  75     FILESEP="\\"
  76     ;;
  77   * )
  78     echo "Unrecognized system!"
  79     exit 1;
  80     ;;
  81 esac
  82 
  83 # remove old class files
  84 cd ${TESTCLASSES}${FILESEP}
  85 rm StaticSignedProvFirst.class
  86 
  87 # compile the test program
  88 ${COMPILEJAVA}${FILESEP}bin${FILESEP}javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} \