]> source.dussan.org Git - jgit.git/commit
Fix tests for OS X when the tmpdir is the default /tmp 45/13845/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 16 Jun 2013 10:02:14 +0000 (12:02 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 16 Jun 2013 21:32:37 +0000 (23:32 +0200)
commit7f43d049865770b517ce100f35dc82458fd4d225
tree55dbe79eb8be7294e19958e527131e086c3f4db6
parent4045e7e9c4eb16d6fd48b712facb7fb2ec6b7e94
Fix tests for OS X when the tmpdir is the default /tmp

/tmp is a symbolic link and some tests break when the path
gets canonicalized by JGit or Jetty. Allow Jetty to serve
symlinks by setting init parameter "aliases" to true [1].

[1] http://wiki.eclipse.org/Jetty/Howto/How_to_serve_symbolically_linked_files

Change-Id: I45359a40435e8a33def6e0bb6784b4d8637793ac
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/DumbClientDumbServerTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/GitServletInitTest.java
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/HttpClientTests.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/FileRepositoryBuilderTest.java