libgit2/libgit2 — pull request #1872 by arrbee (2013-09-24 22:51:10+00:00)
Title: Make tests pass if XDG config exists

These tests check that the XDG config is not in use but due to some mistakes in how the tests were set up, if you are actually using the XDG config path, the tests would fail. This fixes that and actually isolates the tests from the system XDG setup.

Obviously the Travis test environment isn't using the XDG config or the tests would never be passing in the first place.