libgit2/tests
Vicent Marti 995f9c34a5 Use the new git__joinpath to build paths in methods
The `git__joinpath` function has been changed to use a statically
allocated buffer; we assume the buffer to be 4096 bytes, because fuck
you.

The new method also supports an arbritrary number of paths to join,
which may come in handy in the future.

Some methods which were manually joining paths with `strcpy` now use the
new function, namely those in `index.c` and `refs.c`.

Based on Emeric Fermas' original patch, which was using the old
`git__joinpath` because I'm stupid. Thanks!

Signed-off-by: Vicent Marti <tanoku@gmail.com>
2011-02-09 12:43:19 +02:00
..
resources Enforced refs handling tests. 2011-02-05 15:24:08 +01:00
.gitignore Fix Makefile to correctly handle 'make -j4 test' 2008-11-03 18:42:54 -08:00
NAMING Merge nulltoken's reference parsing code 2011-01-29 03:39:02 +02:00
t00-core.c Use the new git__joinpath to build paths in methods 2011-02-09 12:43:19 +02:00
t01-data.h Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t01-rawobj.c Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t02-data.h Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t02-objread.c Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t02-oids.h Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t03-objwrite.c Add support for SQLite backends 2011-02-05 19:45:57 +02:00
t04-commit.c Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t05-revwalk.c Make more methods return error codes 2011-02-05 09:29:37 +02:00
t06-index.c Made test index_write_test() remove the test file it has created. 2011-02-05 19:23:51 +01:00
t07-hashtable.c Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t08-tag.c Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t09-tree.c Rewrite the unit testing suite 2011-02-02 02:15:25 +02:00
t10-refs.c Use the new git__joinpath to build paths in methods 2011-02-09 12:43:19 +02:00
t11-sqlite.c Add support for SQLite backends 2011-02-05 19:45:57 +02:00
test_helpers.c Change include structure for the project 2010-12-06 01:14:15 +02:00
test_helpers.h Tests now run with the resources folder as a hardcoded path 2010-12-10 05:53:39 +02:00
test_lib.c Make the test return an error code on failure 2011-02-02 02:32:21 +02:00
test_lib.h Make the test return an error code on failure 2011-02-02 02:32:21 +02:00
test_main.c Add support for SQLite backends 2011-02-05 19:45:57 +02:00
tests.supp Add support for running the tests via valgrind 2009-10-13 16:23:54 +01:00