• Show log

    Commit

  • Hash : 780f3e54
    Author : Russell Belfer
    Date : 2013-09-04T16:13:18

    Make tests take umask into account
    
    It seems that libgit2 is correctly applying the umask when
    initializing a repository from a template and when creating new
    directories during checkout, but the test suite is not accounting
    for possible variations due to the umask.  This updates that so
    that the test suite will work regardless of the umask.
    

  • README.md

  • 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.