You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by fu...@apache.org on 2006/05/27 05:17:01 UTC

svn commit: r409805 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/useprocessfalse.policy

Author: fuzzylogic
Date: Fri May 26 20:17:00 2006
New Revision: 409805

URL: http://svn.apache.org/viewvc?rev=409805&view=rev
Log:
DERBY-892: Add missing file from 892_4 patch.

Added:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/useprocessfalse.policy   (with props)

Added: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/useprocessfalse.policy
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/useprocessfalse.policy?rev=409805&view=auto
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/useprocessfalse.policy (added)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/useprocessfalse.policy Fri May 26 20:17:00 2006
@@ -0,0 +1,18 @@
+//
+// policy file for running with useprocess=false
+//
+grant codeBase "${derbyTesting.codejar}derbyTesting.jar" {
+  // When running with useprocess=false need to install and uninstall
+  // the security manager and allow setIO to change the system err and out
+  // streams. Currently the nist suite runs with useprocess=false.
+  permission java.lang.RuntimePermission "setSecurityManager";
+  permission java.lang.RuntimePermission "setIO"; 
+};
+
+grant codeBase "${derbyTesting.codeclasses}" {
+
+  // the security manager and allow setIO to change the system err and out
+  // streams. Currently the nist suite runs with useprocess=false.
+  permission java.lang.RuntimePermission "setSecurityManager";
+  permission java.lang.RuntimePermission "setIO"; 
+};

Propchange: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/useprocessfalse.policy
------------------------------------------------------------------------------
    svn:eol-style = native