From 3281356d0f23af09f56b7d75000ef1623dcbbd59 Mon Sep 17 00:00:00 2001 From: Weijun Wang Date: Mon, 6 Dec 2010 06:49:18 +0800 Subject: [PATCH] 7004721: ktarg.sh fails when there's no default realm Reviewed-by: xuelei --- jdk/test/sun/security/krb5/tools/ktarg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/test/sun/security/krb5/tools/ktarg.sh b/jdk/test/sun/security/krb5/tools/ktarg.sh index ed78b5807ce..4f84e2469aa 100644 --- a/jdk/test/sun/security/krb5/tools/ktarg.sh +++ b/jdk/test/sun/security/krb5/tools/ktarg.sh @@ -56,7 +56,7 @@ KEYTAB=ktarg.tmp rm $KEYTAB 2> /dev/null KTAB="${TESTJAVA}${FS}bin${FS}ktab -k $KEYTAB" -$KTAB -a me mine || exit 1 +$KTAB -a me@LOCAL mine || exit 1 $KTAB -hello if [ $? = 0 ]; then exit 2; fi