Closed carlosmn closed 10 years ago
Nice!
What kind of problems are you having with the tests? They seem to be doing well for me on Win, Mac and Linux (and Travis is happy, too). But I'm also not a maven expert, so I may be doing something stupid.
It turned out that I didn't have $TMPDIR
set, so the GitTest
static initializer failed. Being a static initialiser, it seems that it failiing makes the class loader upset, so then I got about five screenfuls of the jvm failing to load anything. Once I did scroll up all that error and noticed, I got the tests to pass.
Which makes me wonder why you're not asking the runtime via
System.getPropery("java.io.tmpdir")
if they fail.
Which makes me wonder why you're not asking the runtime
Obviously we should be. Mind opening an issue or a PR?
Sure thing
Alright, this PR has a test now, and there's another one with the tmpdir fix.
:sparkles:
When we init a repository, a constructor is called which receives the 'bare' param from the native method. This is not the case in the "normal" constructor, which opens a repository and thus must ask whether it is bare or not.
BTW, it looks like your domain name is misspelt in the travis file.