db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r370546 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
Date Thu, 19 Jan 2006 17:05:22 GMT
Author: djd
Date: Thu Jan 19 09:05:18 2006
New Revision: 370546

URL: http://svn.apache.org/viewcvs?rev=370546&view=rev
Log:
DERBY-615 Modify the tests' policy file to grant permissions to all files and sub-directories
under
the extin, extout and extinout directories. Allows the iepnegativetests tests to pass with
jars.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy?rev=370546&r1=370545&r2=370546&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
Thu Jan 19 09:05:18 2006
@@ -32,9 +32,9 @@
   permission java.io.FilePermission "${derby.system.home}${/}-", "read, write, delete";
 
   // Import/export and other support files from these locations in tests
-  permission java.io.FilePermission "${user.dir}${/}extin${/}*", "read";
-  permission java.io.FilePermission "${user.dir}${/}extinout${/}*", "read, write";
-  permission java.io.FilePermission "${user.dir}${/}extout${/}*", "write"; 
+  permission java.io.FilePermission "${user.dir}${/}extin${/}-", "read";
+  permission java.io.FilePermission "${user.dir}${/}extinout${/}-", "read, write";
+  permission java.io.FilePermission "${user.dir}${/}extout${/}-", "write";
   permission java.io.FilePermission "${user.dir}${/}extinout", "read,write";
   
   // unit tests set this property (called from derbyTesting.jar through
@@ -151,17 +151,13 @@
   permission java.net.SocketPermission "${csinfo.trustedhost}", "accept"; 
   
   // Access all files under ${user.dir}to write the test directory structure
+  // Also covers extin, extout and extinout locations
   permission java.io.FilePermission "${user.dir}${/}-", "read,write,delete"; 
   
   // When running with useprocess=false need to install and uninstall
   // the security manager.
   permission java.lang.RuntimePermission "setSecurityManager";
-  
-  // Import/export and other support files from these locations in tests
-  permission java.io.FilePermission "${user.dir}${/}extin${/}*", "read";
-  permission java.io.FilePermission "${user.dir}${/}extinout${/}*", "read, write";
-  permission java.io.FilePermission "${user.dir}${/}extout${/}*", "write"; 
-  
+    
   // sane=true, jdbcapi/secureUsers1.sql
   permission java.io.FilePermission "${user.dir}${/}CloudLDAP.out", "write"; 
   



Mime
View raw message