提交 b9f2049e 编写于 作者: W weijun

6868865: Test: sun/security/tools/jarsigner/oldsig.sh fails under all platforms

Reviewed-by: wetmore
上级 c1e0621d
# #
# Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. # Copyright 2007-2010 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# #
# @test # @test
# @bug 6543940 # @bug 6543940 6868865
# @summary Exception thrown when signing a jarfile in java 1.5 # @summary Exception thrown when signing a jarfile in java 1.5
# #
# @run shell oldsig.sh # @run shell oldsig.sh
...@@ -77,5 +77,6 @@ ${TESTJAVA}${FS}bin${FS}jar uvf B.jar B.class ...@@ -77,5 +77,6 @@ ${TESTJAVA}${FS}bin${FS}jar uvf B.jar B.class
${TESTJAVA}${FS}bin${FS}jarsigner \ ${TESTJAVA}${FS}bin${FS}jarsigner \
-keystore ${TESTSRC}${FS}JarSigning.keystore \ -keystore ${TESTSRC}${FS}JarSigning.keystore \
-storepass bbbbbb \ -storepass bbbbbb \
-digestalg SHA1 \
B.jar c B.jar c
${TESTJAVA}${FS}bin${FS}jarsigner -verify B.jar ${TESTJAVA}${FS}bin${FS}jarsigner -verify B.jar
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册