jdk/test/java/util/ServiceLoader/basic.sh
changeset 14786 a9f61e0cbe61
parent 14342 8435a30053c1
child 15254 3997a6f357cb
equal deleted inserted replaced
14785:164b4548e3ba 14786:a9f61e0cbe61
    92 go() {
    92 go() {
    93   echo ''
    93   echo ''
    94   cp="$1"; shift
    94   cp="$1"; shift
    95   if [ -z "$cp" ]; then cp="$TESTCLASSES"; else cp="$TESTCLASSES$SEP$cp"; fi
    95   if [ -z "$cp" ]; then cp="$TESTCLASSES"; else cp="$TESTCLASSES$SEP$cp"; fi
    96   vmargs="$1"; shift
    96   vmargs="$1"; shift
    97   sh -xc "'$JAVA' -cp $cp $vmargs $T $*" 2>&1
    97   sh -xc "'$JAVA' ${TESTVMOPTS} -cp $cp $vmargs $T $*" 2>&1
    98   if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
    98   if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
    99 }
    99 }
   100 
   100 
   101 
   101 
   102 # Java-level tests
   102 # Java-level tests