提交 a41ed6e4 编写于 作者: K kohsuke

delete tmporary file created during a test

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15456 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c10286e1
...@@ -77,9 +77,10 @@ public class FilePathTest extends TestCase { ...@@ -77,9 +77,10 @@ public class FilePathTest extends TestCase {
} }
public void testCopyTo() throws Exception { public void testCopyTo() throws Exception {
File tmp = File.createTempFile("tmp",""); File tmp = File.createTempFile("testCopyTo","");
FilePath f = new FilePath(french,tmp.getPath()); FilePath f = new FilePath(french,tmp.getPath());
f.copyTo(new NullStream()); f.copyTo(new NullStream());
tmp.delete();
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册