diff --git a/core/src/test/java/hudson/FilePathTest.java b/core/src/test/java/hudson/FilePathTest.java index ddac863fb2749e0e248e099aeef04891a89573d5..56eb082c822149e62aeaebb7af197a87eb91d46e 100644 --- a/core/src/test/java/hudson/FilePathTest.java +++ b/core/src/test/java/hudson/FilePathTest.java @@ -77,9 +77,10 @@ public class FilePathTest extends TestCase { } public void testCopyTo() throws Exception { - File tmp = File.createTempFile("tmp",""); + File tmp = File.createTempFile("testCopyTo",""); FilePath f = new FilePath(french,tmp.getPath()); f.copyTo(new NullStream()); + tmp.delete(); } }