• Show log

    Commit

  • Hash : 232fc469
    Author : Patrick Steinhardt
    Date : 2018-10-05T10:55:29

    tests: always unlink created config files
    
    While our tests in config::include create a plethora of configuration
    files, most of them do not get removed at the end of each test. This can
    cause weird interactions with tests that are being run at a later stage
    if these later tests try to create files or directories with the same
    name as any of the created configuration files.
    
    Fix the issue by unlinking all created files at the end of these tests.
    
    (cherry picked from commit bf662f7cf8daff2357923446cf9d22f5d4b4a66b)
    

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