libgit2/libgit2 — pull request #470 by schu (2011-10-30 12:58:58+00:00)
Title: test_helpers: do not rely on assert

The functions loose_object_mode and loose_object_dir_mode call stat inside an assert statement which isn't evaluated when compiling in Release mode (NDEBUG) and leads to failing tests. Replace it.