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:
parent
10cd607753
commit
4fc5003ff5
@ -101,11 +101,7 @@ run PropertiesTest -c dump1 dump2 ${PROPS}
|
|||||||
# without disturbing other users, including concurrently executing tests.
|
# without disturbing other users, including concurrently executing tests.
|
||||||
WRITABLEJDK=.${FS}testjava
|
WRITABLEJDK=.${FS}testjava
|
||||||
cp -H -R $TESTJAVA $WRITABLEJDK || exit 1
|
cp -H -R $TESTJAVA $WRITABLEJDK || exit 1
|
||||||
if [ -d ${TESTJAVA}${FS}jre ]; then
|
PROPLOCATION=${WRITABLEJDK}${FS}lib
|
||||||
PROPLOCATION=${WRITABLEJDK}${FS}jre${FS}lib
|
|
||||||
else
|
|
||||||
PROPLOCATION=${WRITABLEJDK}${FS}lib
|
|
||||||
fi
|
|
||||||
chmod -R +w $WRITABLEJDK || exit 1
|
chmod -R +w $WRITABLEJDK || exit 1
|
||||||
cp ${PROPS} $PROPLOCATION || exit 1
|
cp ${PROPS} $PROPLOCATION || exit 1
|
||||||
echo "Properties location: ${PROPLOCATION}"
|
echo "Properties location: ${PROPLOCATION}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user