• Show log

    Commit

  • Hash : b988f544
    Author : Patrick Steinhardt
    Date : 2017-04-26T13:16:18

    tests: online::clone: use URL of test server
    
    All our tests running against a local SSH server usually read the
    server's URL from environment variables. But online::clone::ssh_cert
    test fails to do so and instead always connects to
    "ssh://localhost/foo". This assumption breaks whenever the SSH server is
    not running on the standard port, e.g. when it is running as a user.
    
    Fix the issue by using the URL provided by the environment.
    
    (cherry picked from commit c2c95ad0a210be4811c247be51664bfe8b2e830a)
    

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