changeset 24857:a6e1aabc8cd5

8044747: [TESTBUG] Test sun/security/tools/policytool/i18n.sh fails after clicking 'Done' button in test frame Reviewed-by: xuelei
author weijun
date Fri, 06 Jun 2014 22:31:53 +0800
parents b0f60a17bf54
children 6907286cb170
files jdk/test/sun/security/tools/policytool/i18n.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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