8044747: [TESTBUG] Test sun/security/tools/policytool/i18n.sh fails after clicking 'Done' button in test frame
authorweijun
Fri, 06 Jun 2014 22:31:53 +0800
changeset 24857 a6e1aabc8cd5
parent 24856 b0f60a17bf54
child 24858 6907286cb170
8044747: [TESTBUG] Test sun/security/tools/policytool/i18n.sh fails after clicking 'Done' button in test frame Reviewed-by: xuelei
jdk/test/sun/security/tools/policytool/i18n.sh
--- 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