mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 07:20:07 +00:00
![]() This makes libgit2 compliant with the following scenario $ git ls-remote file:///d:/temp/dwm%20tinou 732d790b702db4b8985f5104fc44642654f6a6b6 HEAD 732d790b702db4b8985f5104fc44642654f6a6b6 refs/heads/master 732d790b702db4b8985f5104fc44642654f6a6b6 refs/remotes/origin/HEAD 732d790b702db4b8985f5104fc44642654f6a6b6 refs/remotes/origin/master $ mv "/d/temp/dwm tinou" /d/temp/dwm+tinou $ git ls-remote file:///d:/temp/dwm%20tinou fatal: 'd:/temp/dwm tinou' does not appear to be a git repository fatal: The remote end hung up unexpectedly $ git ls-remote file:///d:/temp/dwm+tinou 732d790b702db4b8985f5104fc44642654f6a6b6 HEAD 732d790b702db4b8985f5104fc44642654f6a6b6 refs/heads/master 732d790b702db4b8985f5104fc44642654f6a6b6 refs/remotes/origin/HEAD 732d790b702db4b8985f5104fc44642654f6a6b6 refs/remotes/origin/master |
||
---|---|---|
.. | ||
buf | ||
config | ||
core | ||
index | ||
network | ||
object | ||
odb | ||
refs | ||
repo | ||
status | ||
clay | ||
clay_helpers.c | ||
clay_libgit2.h | ||
clay_main.c | ||
clay.h | ||
README.md |
Writing Clay tests for libgit2
For information on the Clay testing framework and a detailed introduction please visit:
https://github.com/tanoku/clay
-
Write your modules and tests. Use good, meaningful names.
-
Mix the tests:
./clay -vtap .
-
Make sure you actually build the tests by setting:
BUILD_CLAY=ON
-
Test:
./build/libgit2_clay
-
Make sure everything is fine.
-
Send your pull request. That's it.