take care of symlink for asf jenkins

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163264 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-08-30 15:37:51 +00:00
parent 415ba43b68
commit 0faa26af80
1 changed files with 2 additions and 1 deletions

View File

@ -160,7 +160,8 @@ public class ManagedRepositoryAdminTest
repo = managedRepositoryAdmin.getManagedRepository( "test-new-one" ); repo = managedRepositoryAdmin.getManagedRepository( "test-new-one" );
assertNotNull( repo ); assertNotNull( repo );
assertEquals( newName, repo.getName() ); assertEquals( newName, repo.getName() );
assertEquals( APPSERVER_BASE_PATH + "new-path", repo.getLocation() ); assertEquals( new File( APPSERVER_BASE_PATH + "/new-path" ).getCanonicalPath(),
new File( repo.getLocation() ).getCanonicalPath() );
assertTrue( new File( APPSERVER_BASE_PATH + "new-path" ).exists() ); assertTrue( new File( APPSERVER_BASE_PATH + "new-path" ).exists() );
assertTrue( assertTrue(