fix test for windoz os (hope not breaking semantic)

git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1562340 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
skygo 2014-01-29 01:34:02 +00:00
parent 228af298a1
commit 4e132d24ec
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,9 @@ public class CleanupReleasedSnapshotsRepositoryPurgeTest
listenerControl.replay();
File file = new File( repoRoot, INDEX_PATH );
// windows fix
file.mkdirs();
file.createNewFile();
assertTrue( file.exists() );