7143910: test/tools/apt/Basics/apt.sh fails with 'real' sh

Reviewed-by: darcy
This commit is contained in:
Sonali Goel 2012-02-17 15:24:40 -08:00 committed by Joe Darcy
parent 3887a6d012
commit ed13841255

View File

@ -41,20 +41,10 @@ case "${OS}" in
esac
# Verify apt executable does not exist
test -e "${TESTJAVA}/bin/apt"
RESULT=$?
case "${RESULT}" in
0 )
echo "apt executable should not exist."
exit 1
;;
* )
;;
esac
if [ -f "${TESTJAVA}/bin/apt" -o -f "${TESTJAVA}/bin/apt.exe" ];then
echo "apt executable should not exist."
exit 1
fi
# Construct path to javac executable
JAVAC="${TESTJAVA}/bin/javac ${TESTTOOLVMOPTS} -source 1.5 -sourcepath ${TESTSRC} -classpath ${TESTJAVA}/lib/tools.jar -d . "