test/java/net/Socket/OldSocketImpl.sh

Print this page




  33     FS="/"
  34     ;;
  35   CYGWIN* )
  36     PS=";"
  37     FS="/"
  38     ;;
  39   Windows* )
  40     PS=";"
  41     FS="\\"
  42     ;;
  43   * )
  44     echo "Unrecognized system!"
  45     exit 1;
  46     ;;
  47 esac
  48 
  49 # no need to compile the test. It is already compiled
  50 # with 1.3 and in OldStyleImpl.jar
  51 
  52 # run
  53 ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTSRC}${FS}OldSocketImpl.jar OldSocketImpl
  54 result=$?
  55 if [ "$result" -ne "0" ]; then
  56     exit 1
  57 fi
  58 
  59 # no failures, exit.
  60 exit 0
  61 


  33     FS="/"
  34     ;;
  35   CYGWIN* )
  36     PS=";"
  37     FS="/"
  38     ;;
  39   Windows* )
  40     PS=";"
  41     FS="\\"
  42     ;;
  43   * )
  44     echo "Unrecognized system!"
  45     exit 1;
  46     ;;
  47 esac
  48 
  49 # no need to compile the test. It is already compiled
  50 # with 1.3 and in OldStyleImpl.jar
  51 
  52 # run
  53 ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} ${TESTJAVAOPTS} -cp ${TESTSRC}${FS}OldSocketImpl.jar OldSocketImpl
  54 result=$?
  55 if [ "$result" -ne "0" ]; then
  56     exit 1
  57 fi
  58 
  59 # no failures, exit.
  60 exit 0
  61