test/java/util/PluggableLocale/ExecTest.sh

Print this page




  45 then
  46   echo "TESTJAVA not set.  Test cannot execute.  Failed."
  47   exit 1
  48 fi
  49 echo "TESTJAVA=${TESTJAVA}"
  50 if [ "${TESTCLASSES}" = "" ]
  51 then
  52   echo "TESTCLASSES not set.  Test cannot execute.  Failed."
  53   exit 1
  54 fi
  55 echo "TESTCLASSES=${TESTCLASSES}"
  56 echo "CLASSPATH=${CLASSPATH}"
  57 
  58 # set platform-dependent variables
  59 OS=`uname -s`
  60 case "$OS" in
  61   SunOS | Linux )
  62     PS=":"
  63     FS="/"
  64     ;;
  65   Windows* )
  66     PS=";"
  67     FS="\\"
  68     ;;
  69   * )
  70     echo "Unrecognized system!"
  71     exit 1;
  72     ;;
  73 esac
  74 
  75 # set classpath and extension directory variables
  76 if [ -d ${TESTJAVA}${FS}lib${FS}ext ]
  77 then
  78     EXTDIRS="${TESTJAVA}${FS}lib${FS}ext${PS}${TESTCLASSES}"
  79 else
  80     EXTDIRS="${TESTJAVA}${FS}jre${FS}lib${FS}ext${PS}${TESTCLASSES}"
  81 fi
  82 
  83 case "$1" in 
  84   "foo" )
  85     cp ${TESTSRC}${FS}fooprovider.jar ${TESTCLASSES}




  45 then
  46   echo "TESTJAVA not set.  Test cannot execute.  Failed."
  47   exit 1
  48 fi
  49 echo "TESTJAVA=${TESTJAVA}"
  50 if [ "${TESTCLASSES}" = "" ]
  51 then
  52   echo "TESTCLASSES not set.  Test cannot execute.  Failed."
  53   exit 1
  54 fi
  55 echo "TESTCLASSES=${TESTCLASSES}"
  56 echo "CLASSPATH=${CLASSPATH}"
  57 
  58 # set platform-dependent variables
  59 OS=`uname -s`
  60 case "$OS" in
  61   SunOS | Linux )
  62     PS=":"
  63     FS="/"
  64     ;;
  65   Windows* | CYGWIN* )
  66     PS=";"
  67     FS="\\"
  68     ;;
  69   * )
  70     echo "Unrecognized system!"
  71     exit 1;
  72     ;;
  73 esac
  74 
  75 # set classpath and extension directory variables
  76 if [ -d ${TESTJAVA}${FS}lib${FS}ext ]
  77 then
  78     EXTDIRS="${TESTJAVA}${FS}lib${FS}ext${PS}${TESTCLASSES}"
  79 else
  80     EXTDIRS="${TESTJAVA}${FS}jre${FS}lib${FS}ext${PS}${TESTCLASSES}"
  81 fi
  82 
  83 case "$1" in 
  84   "foo" )
  85     cp ${TESTSRC}${FS}fooprovider.jar ${TESTCLASSES}