Disable java gssapi tests because of 7077640 and 7077646

This commit is contained in:
Love Hornquist Astrand
2011-09-25 20:24:26 +02:00
parent d9dc7c9761
commit f910d2174b

View File

@@ -106,30 +106,39 @@ java \
KerberosInit > output.tmp 2>&1 || { cat output.tmp ; exit 1; } KerberosInit > output.tmp 2>&1 || { cat output.tmp ; exit 1; }
echo "start server" # Disabled because of:
java \ #
-Dsun.security.krb5.debug=true \ # http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7077646
-Djava.security.krb5.conf="${objdir}"/krb5.conf \ # http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7077640
-Djavax.security.auth.useSubjectCredsOnly=false \ #
-Djava.security.auth.login.config="${srcdir}/jaas.conf" \
jgssapi_server > output.tmp 2>&1 &
javapid=$!
sleep 5
trap "kill -9 ${kdcpid} ${javapid}; echo signal killing kdc java; exit 1;" EXIT if false ; then
echo "Getting client initial tickets"; > messages.log echo "start server"
${kinit} --password-file=${objdir}/foopassword lha@$R || \ java \
{ echo "kinit failed" ; exit 1; } -Dsun.security.krb5.debug=true \
-Djava.security.krb5.conf="${objdir}"/krb5.conf \
env KRB5CCNAME=${cache} \ -Djavax.security.auth.useSubjectCredsOnly=false \
${gssclient} --port=4717 --service=host localhost || exit 1 -Djava.security.auth.login.config="${srcdir}/jaas.conf" \
jgssapi_server > output.tmp 2>&1 &
sleep 5 javapid=$!
sleep 5
kill ${javapid}
trap "kill -9 ${kdcpid} ${javapid}; echo signal killing kdc java; exit 1;" EXIT
grep 'Exception in thread' output.tmp && exit 1
echo "Getting client initial tickets"; > messages.log
${kinit} --password-file=${objdir}/foopassword lha@$R || \
{ echo "kinit failed" ; exit 1; }
env KRB5CCNAME=${cache} \
${gssclient} --port=4717 --service=host localhost || exit 1
sleep 5
kill ${javapid}
grep 'Exception in thread' output.tmp && exit 1
fi
echo "Done" echo "Done"