aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-08-30 15:37:51 +0000
committerOlivier Lamy <olamy@apache.org>2011-08-30 15:37:51 +0000
commit0faa26af80c004ae0ce98b687767a02bb2e12192 (patch)
tree20eebc9345534c312fca7772a0c3572755ab8737 /archiva-modules
parent415ba43b688e67744286338436b69dae4ffad19e (diff)
downloadarchiva-0faa26af80c004ae0ce98b687767a02bb2e12192.tar.gz
archiva-0faa26af80c004ae0ce98b687767a02bb2e12192.zip
take care of symlink for asf jenkins
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163264 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java b/archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java
index 2457ad7e7..25d93da92 100644
--- a/archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java
+++ b/archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java
@@ -160,7 +160,8 @@ public class ManagedRepositoryAdminTest
repo = managedRepositoryAdmin.getManagedRepository( "test-new-one" );
assertNotNull( repo );
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(