libgit2/tests-clar
Russell Belfer da825c92d9 Make index add/append support core.filemode flag
This fixes git_index_add and git_index_append to behave more like
core git, preserving old filemode data in the index when adding
and/or appending with core.filemode = false.

This also has placeholder support for core.symlinks and
core.ignorecase, but those flags are not implemented (well,
symlinks has partial support for preserving mode information in
the same way that git does, but it isn't tested).
2012-06-19 14:27:02 -07:00
..
attr Fix bugs for status with spaces and reloaded attrs 2012-05-24 17:14:56 -07:00
buf Update test suite 2012-05-02 16:14:30 -07:00
commit errors: Rename the generic return codes 2012-05-18 01:26:26 +02:00
config config: add more tests for writing escaped chars 2012-06-13 23:26:00 +02:00
core Tests: wrap 'getenv' and friends for Win32 tests. 2012-06-08 11:24:37 -07:00
date Omit failing test on 32-bit machines. 2012-06-06 12:39:29 -07:00
diff Minor fixes, cleanups, and clarifications 2012-06-08 12:11:13 -07:00
index Make index add/append support core.filemode flag 2012-06-19 14:27:02 -07:00
network notes: add test resource with faked two-level fanout 2012-06-08 00:17:08 +02:00
notes notes: simplify tests 2012-06-12 14:30:33 +02:00
object clar: Fix warnings 2012-06-19 02:43:36 +02:00
odb clar: Fix warning 2012-05-16 19:24:35 +02:00
refs Fix potential segfault in revparse. 2012-06-19 09:25:55 -07:00
repo repository: make git_repository_init() value the core.logallrefupdates config entry 2012-06-12 06:42:46 +02:00
reset Add git_reset() 2012-06-07 21:27:30 +02:00
resources Merge remote-tracking branch 'yorah/fix/notes-creation' into development 2012-06-19 02:33:03 +02:00
revwalk clar: Fix warnings 2012-06-19 02:43:36 +02:00
status Add a test showing that git_status_file gets confused by spaces in .gitignore 2012-06-09 17:43:18 -04:00
threads t13-threads.c ported. 2012-03-30 13:05:54 -07:00
clar Fixed mode on clar 2012-05-10 11:15:37 -07:00
clar_helpers.c Make index add/append support core.filemode flag 2012-06-19 14:27:02 -07:00
clar_libgit2.h Make index add/append support core.filemode flag 2012-06-19 14:27:02 -07:00
README.md Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00

Writing Clar tests for libgit2

For information on the Clar testing framework and a detailed introduction please visit:

https://github.com/tanoku/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.