mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 20:42:21 +00:00
fixed a test failure on Windows
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22315 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
b793703795
commit
5abbdff34b
1 file changed
+3
-3
@@ -94,12 +94,12 @@ public class FilePathTest extends TestCase {
|
||||
File tmp = File.createTempFile("testCopyFrom","");
|
||||
FilePath f = new FilePath(tmp);
|
||||
File tmp2 = File.createTempFile("testCopyTo","");
|
||||
FilePath f2 = new FilePath(british,tmp.getPath());
|
||||
FilePath f2 = new FilePath(british,tmp2.getPath());
|
||||
|
||||
f.copyTo(f2);
|
||||
|
||||
assertTrue("could not delete target " + tmp.getPath(), tmp.delete());
|
||||
assertTrue("could not delete target " + tmp2.getPath(), tmp2.delete());
|
||||
assertTrue("could not delete target " + tmp.getPath(), f.delete());
|
||||
assertTrue("could not delete target " + tmp2.getPath(), f2.delete());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user