8044747: [TESTBUG] Test sun/security/tools/policytool/i18n.sh fails after clicking 'Done' button in test frame
Reviewed-by: xuelei
--- a/jdk/test/sun/security/tools/policytool/i18n.sh Fri Jun 06 10:47:30 2014 +0100
+++ b/jdk/test/sun/security/tools/policytool/i18n.sh Fri Jun 06 22:31:53 2014 +0800
@@ -77,7 +77,7 @@
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