提交 3fbaba4c 编写于 作者: W weijun

8024046: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc*

Reviewed-by: xuelei
上级 d6256fe9
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# #
# @test # @test
# @bug 6317711 6944847 # @bug 6317711 6944847 8024046
# @summary Ensure the GSSName has the correct impl which respects # @summary Ensure the GSSName has the correct impl which respects
# the contract for equals and hashCode across different configurations. # the contract for equals and hashCode across different configurations.
...@@ -56,6 +56,15 @@ case "$OS" in ...@@ -56,6 +56,15 @@ case "$OS" in
PATHSEP=":" PATHSEP=":"
FILESEP="/" FILESEP="/"
NATIVE=true NATIVE=true
# Not all *nix has native GSS libs installed
krb5-config --libs gssapi 2> /dev/null
if [ $? != 0 ]; then
# Fedora has a different path
/usr/kerberos/bin/krb5-config --libs gssapi 2> /dev/null
if [ $? != 0 ]; then
NATIVE=false
fi
fi
;; ;;
CYGWIN* ) CYGWIN* )
PATHSEP=";" PATHSEP=";"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册