JDK-8026037 : [TESTBUG] sun/security/tools/jarsigner/warnings.sh test fails on Solaris
  • Type: Bug
  • Component: tools
  • Sub-Component: jar
  • Affected Version: 7u51,8
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris
  • CPU: generic
  • Submitted: 2013-10-08
  • Updated: 2016-03-24
  • Resolved: 2013-10-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 JDK 9
7u51Fixed 8 b124Fixed 9Fixed
Description
The test fails with the following output:

----------messages:(3/123)----------
command: shell warnings.sh
reason: Assumed action based on file name: run shell warnings.sh 
elapsed time (seconds): 0.015
----------System.out:(0/0)----------
----------System.err:(1/107)----------
/Users/aurora/sandbox/testbase/test/sun/security/tools/jarsigner/warnings.sh: LANG=C: is not an identifier
----------rerun:(16/775)*----------
DISPLAY=sc11152338.us.oracle.com:1 \\
HOME=/Users/aurora \\
PATH=/bin:/usr/bin \\
TZ=PST8PDT \\
TESTSRC=/Users/aurora/sandbox/testbase/test/sun/security/tools/jarsigner \\
TESTSRCPATH=/Users/aurora/sandbox/testbase/test/sun/security/tools/jarsigner \\
TESTCLASSES=/Users/aurora/sandbox/gresults/testoutput/jdk_security3/JTwork/classes/sun/security/tools/jarsigner \\
TESTCLASSPATH=/Users/aurora/sandbox/gresults/testoutput/jdk_security3/JTwork/classes/sun/security/tools/jarsigner \\
COMPILEJAVA=/Users/aurora/sandbox/jdk \\
TESTJAVA=/Users/aurora/sandbox/jdk \\
'TESTVMOPTS=-d32 -d32 -ea -esa' \\
'TESTTOOLVMOPTS=-J-d32 -J-d32 -J-ea -J-esa' \\
TESTJAVACOPTS= \\
TESTJAVAOPTS= \\
    sh \\
        /Users/aurora/sandbox/testbase/test/sun/security/tools/jarsigner/warnings.sh
result: Failed. Execution failed: exit code 1


test result: Failed. Execution failed: exit code 1
Comments
Max: The above suggested fix looks ok to me. If you do not have time to get to this, you can reassign this bug to me and I will move it forward.
09-10-2013