8061287: Update i18n tests to remove references of jre dir

Updated PropertiesTest.sh to remove references of jre dir.

Reviewed-by: naoto, peytoia
This commit is contained in:
Rachna Goel 2015-10-26 19:49:22 +05:30 committed by Naoto Sato
parent 10cd607753
commit 4fc5003ff5

View File

@ -101,11 +101,7 @@ run PropertiesTest -c dump1 dump2 ${PROPS}
# without disturbing other users, including concurrently executing tests.
WRITABLEJDK=.${FS}testjava
cp -H -R $TESTJAVA $WRITABLEJDK || exit 1
if [ -d ${TESTJAVA}${FS}jre ]; then
PROPLOCATION=${WRITABLEJDK}${FS}jre${FS}lib
else
PROPLOCATION=${WRITABLEJDK}${FS}lib
fi
PROPLOCATION=${WRITABLEJDK}${FS}lib
chmod -R +w $WRITABLEJDK || exit 1
cp ${PROPS} $PROPLOCATION || exit 1
echo "Properties location: ${PROPLOCATION}"