• Show log

    Commit

  • Hash : 8487e237
    Author : Russell Belfer
    Date : 2014-05-15T10:56:28

    Better search path sandboxing
    
    There are a number of tests that modify the global or system
    search paths during the tests.  This adds a helper function to
    make it easier to restore those paths and makes sure that they
    are getting restored in a manner that preserves test isolation.
    

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