Files
libgit2/tests
Ian Hattendorf 98c11905ac Correctly write to missing locked global config
Opening a default config when ~/.gitconfig doesn't exist, locking it,
and attempting to write to it causes an assertion failure.

Treat non-existent global config file content as an empty string.

(cherry picked from commit e44110dbbf)
2019-05-02 12:06:18 +02:00
..
2019-01-25 22:36:44 +00:00
2019-05-02 10:22:12 +02:00
2018-11-02 14:58:12 +01:00
2019-01-05 22:26:18 -08:00
2018-03-19 16:08:01 -07:00
2018-09-06 11:17:01 +01:00

Writing Clar tests for libgit2

For information on the Clar testing framework and a detailed introduction please visit:

https://github.com/vmg/clar

  • Write your modules and tests. Use good, meaningful names.

  • Make sure you actually build the tests by setting:

      cmake -DBUILD_CLAR=ON build/
    
  • Test:

      ./build/libgit2_clar
    
  • Make sure everything is fine.

  • Send your pull request. That's it.