test/tools/apt/Basics/apt.sh

changeset 1199
e127334a64fe
parent 1194
2360c8213989
equal deleted inserted replaced
1198:84b61130cbed 1199:e127334a64fe
39 * ) 39 * )
40 ;; 40 ;;
41 esac 41 esac
42 42
43 # Verify apt executable does not exist 43 # Verify apt executable does not exist
44 test -e "${TESTJAVA}/bin/apt" 44 if [ -f "${TESTJAVA}/bin/apt" -o -f "${TESTJAVA}/bin/apt.exe" ];then
45 45 echo "apt executable should not exist."
46 RESULT=$? 46 exit 1
47 47 fi
48 case "${RESULT}" in
49 0 )
50 echo "apt executable should not exist."
51 exit 1
52 ;;
53
54 * )
55 ;;
56 esac
57
58 48
59 # Construct path to javac executable 49 # Construct path to javac executable
60 JAVAC="${TESTJAVA}/bin/javac ${TESTTOOLVMOPTS} -source 1.5 -sourcepath ${TESTSRC} -classpath ${TESTJAVA}/lib/tools.jar -d . " 50 JAVAC="${TESTJAVA}/bin/javac ${TESTTOOLVMOPTS} -source 1.5 -sourcepath ${TESTSRC} -classpath ${TESTJAVA}/lib/tools.jar -d . "
61 51
62 $JAVAC ${TESTSRC}/NullAPF.java 52 $JAVAC ${TESTSRC}/NullAPF.java

mercurial