• Show log

    Commit

  • Hash : 865baaf9
    Author : Edward Thomson
    Date : 2015-02-05T11:06:01

    repo: ensure we can create repo at filesystem root
    
    Test to ensure that we can create a repository at the filesystem
    root.  Introduces a new test environment variable,
    `GITTEST_INVASIVE_FILESYSTEM` for tests that do terrible things like
    escaping the clar sandbox and writing to the root directory.  It is
    expected that the CI builds will enable this but that normal people
    would not want this.
    

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