[rfc][icedtea-web] fix CodeBaseManifestEntrySignedMatching Tests by enabling Codebase check

Lukasz Dracz ldracz at redhat.com
Mon Mar 30 17:53:53 UTC 2015


Hello,

I have been looking into why these tests fail:

- ApplicationJNLPLocalTest
- AppletJNLPRLocalTest
- ApplicationJNLPRemoteTest
- BrowserAppletLocalTest
- BrowserJNLPHrefRemoteTest
- BrowserJNLPHrefLocalTest
- AppletJNLPRemoteTest
- BrowserAppletRemoteTest
- ApplicationJNLPLocalTestWithRemoteCodebase

I have found that the changeset 984 where manifest attributes check property was introduced to be the problem. The tests pass regularly if the check is enabled to ALL or contains CODEBASE in the combination of attributes check. 
But since when the reproducers are typically run the attributes check flag is set to NONE, I have made this patch that adds a BeforeClass and AfterClass that changes the manifest attributes check property to CODEBASE and back to its previous value after the tests. This ensures the tests pass no matter what the deployment.manifest.attributes.check is set to.

Thank you,
Lukasz Dracz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixCodeBaseManifestEntrySignedMatchingTests.patch
Type: text/x-patch
Size: 2508 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20150330/83d0ebf9/fixCodeBaseManifestEntrySignedMatchingTests-0001.patch>


More information about the distro-pkg-dev mailing list