From 1b85d60d02e2928e0de0b6f9ee88832300ff04b7 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Thu, 30 Aug 2012 20:25:26 +0000 Subject: [PATCH] allow tests to write to clover db git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379118 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/common-build.xml | 1 + lucene/tools/junit4/tests.policy | 1 + 2 files changed, 2 insertions(+) diff --git a/lucene/common-build.xml b/lucene/common-build.xml index 3d497f2fc68..01a95a0537f 100644 --- a/lucene/common-build.xml +++ b/lucene/common-build.xml @@ -798,6 +798,7 @@ + diff --git a/lucene/tools/junit4/tests.policy b/lucene/tools/junit4/tests.policy index f22126474d3..2b12d776fec 100644 --- a/lucene/tools/junit4/tests.policy +++ b/lucene/tools/junit4/tests.policy @@ -27,6 +27,7 @@ grant { // permissions for file access, write access only to sandbox: permission java.io.FilePermission "<>", "read,execute"; permission java.io.FilePermission "${tests.sandbox.dir}${/}-", "read,execute,write,delete"; + permission java.io.FilePermission "${clover.db.dir}${/}-", "read,execute,write,delete"; // all possibilities of accepting/binding connections on localhost with ports >=1024: permission java.net.SocketPermission "localhost:1024-", "accept,listen";