denio7 / egit

Automatically exported from code.google.com/p/egit
0 stars 0 forks source link

Don't read ~/.gitconfig during JUnit tests #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
JUnit test cases are reading ~/.gitconfig.

That may make tests fail (or pass) based upon the user.

Original issue reported on code.google.com by shawn.pe...@gmail.com on 2 Oct 2008 at 10:46

GoogleCodeExporter commented 8 years ago
A simple workaround for this is to set the system property user.home to some
directory that has no user-specifc files. The test harness can do this without 
a need
for special code i the jgit core

Original comment by robin.ro...@gmail.com on 11 Mar 2009 at 8:40

GoogleCodeExporter commented 8 years ago

Original comment by sop+code@google.com on 12 May 2009 at 8:47