RFR 8046702: default_options.sh test failure on Solaris
Xuelei.Fan at Oracle.Com
Thu Jun 12 15:12:34 UTC 2014
Looks fine to me.
> On Jun 12, 2014, at 10:57 PM, Wang Weijun <weijun.wang at oracle.com> wrote:
> Oh, I made the mistake again, on Solaris "export ENV=var" is not always correct.
> Please review the code change at
> The fix is as simple as
> diff --git a/test/sun/security/tools/keytool/default_options.sh b/test/sun/security/tools/keytool/default_options.sh
> --- a/test/sun/security/tools/keytool/default_options.sh
> +++ b/test/sun/security/tools/keytool/default_options.sh
> @@ -38,7 +38,8 @@
> rm $KS 2> /dev/null
> -export PASS=changeit
> +export PASS
> # keytool
> I was using "-storepass changeit" but at the final second I changed it to
> export PASS=changeit
> keytool -storepass:env PASS
> and thought it looks more secure. I should have run it on all platforms again.
More information about the security-dev