test/java/net/URL/B5086147.sh

Print this page




  30     exit 0
  31     ;;
  32   CYGWIN* )
  33     PS=";"
  34     FS="/"
  35     ;;
  36   Windows* )
  37     PS=";"
  38     FS="\\"
  39     ;;
  40   * )
  41     echo "Unrecognized system!"
  42     exit 1;
  43     ;;
  44 esac
  45 ${COMPILEJAVA}${FS}bin${FS}javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -d . ${TESTSRC}${FS}B5086147.java
  46 
  47 failures=0
  48 
  49 echo ''
  50 ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} B5086147
  51 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
  52 
  53 if [ "$failures" != "0" ]; then
  54     echo $failures tests failed
  55     exit 1;
  56 fi


  30     exit 0
  31     ;;
  32   CYGWIN* )
  33     PS=";"
  34     FS="/"
  35     ;;
  36   Windows* )
  37     PS=";"
  38     FS="\\"
  39     ;;
  40   * )
  41     echo "Unrecognized system!"
  42     exit 1;
  43     ;;
  44 esac
  45 ${COMPILEJAVA}${FS}bin${FS}javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -d . ${TESTSRC}${FS}B5086147.java
  46 
  47 failures=0
  48 
  49 echo ''
  50 ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} ${TESTJAVAOPTS} B5086147
  51 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
  52 
  53 if [ "$failures" != "0" ]; then
  54     echo $failures tests failed
  55     exit 1;
  56 fi