From 0ebfb6a2f79746b1098c610487413678cc0da88b Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Sat, 28 Jul 2012 19:57:32 +0000 Subject: [PATCH] LUCENE-4268: Fix test bug git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366756 13f79535-47bb-0310-9956-ffa450edef68 --- .../lucene/analysis/util/TestFilesystemResourceLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/util/TestFilesystemResourceLoader.java b/lucene/analysis/common/src/test/org/apache/lucene/analysis/util/TestFilesystemResourceLoader.java index 96248a2e8db..01887ef9239 100644 --- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/util/TestFilesystemResourceLoader.java +++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/util/TestFilesystemResourceLoader.java @@ -60,7 +60,7 @@ public class TestFilesystemResourceLoader extends LuceneTestCase { } public void testBaseDir() throws Exception { - final File base = _TestUtil.getTempDir("fsResourceLoaderBase"); + final File base = _TestUtil.getTempDir("fsResourceLoaderBase").getAbsoluteFile(); try { base.mkdirs(); Writer os = new OutputStreamWriter(new FileOutputStream(new File(base, "template.txt")), IOUtils.CHARSET_UTF_8);