db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren" <m.v.lunte...@gmail.com>
Subject Re: [jira] Commented: (DERBY-892) add mechanism for specifying policy file for individual function tests
Date Wed, 24 May 2006 05:25:42 GMT
On 5/23/06, Andrew McIntyre (JIRA) <derby-dev@db.apache.org> wrote:

>    [
> http://issues.apache.org/jira/browse/DERBY-892?page=comments#action_12413064]
>
> Andrew McIntyre commented on DERBY-892:
> ---------------------------------------
>
> This looks good, but shouldn't we leave the permissions needed for running
> tests in useprocess=false mode in the base harness policy file, considering
> the recent work that was done with DERBY-1141? Since the permission is only
> granted on derbyTesting.jar, the tests are still quite secure when running
> in from the jars. You could have the harness append the necessary
> permissions if running in useprocess=false mode, but that might be more
> trouble than its worth. Also, this makes the lang/errorStream.policy file
> unnecessary, unless you choose to go the
> append-permissions-for-useprocess=false route.


Good thinking, thx.
Instead of creating a nist.policy file, I'll create a
useprocessfalse.policyunder util and append it when running with
useprocess=false. I think that's
cleaner than adding generic properties that will be used by all tests. I'll
run derbyall and report.

Myrna

Mime
View raw message