8044747: [TESTBUG] Test sun/security/tools/policytool/i18n.sh fails after clicking 'Done' button in test frame

Reviewed-by: xuelei
This commit is contained in:
Weijun Wang 2014-06-06 22:31:53 +08:00
parent 865fac8406
commit 704a20b250

View File

@ -77,7 +77,7 @@ echo "HELLO!"
echo "Checking for $HOME/.java.policy"
# 8015274
if [ -e $HOME/.java.policy ]; then
if [ -f $HOME/.java.policy ]; then
echo "You have a .java.policy file in your HOME directory"
echo "The file must be removed before running this test"
exit 1