diff options
author | Ben Straub <ben@straubnet.net> | 2012-03-31 00:05:54 +0400 |
---|---|---|
committer | Ben Straub <ben@straubnet.net> | 2012-03-31 00:05:54 +0400 |
commit | 1cb9b31e51edc85b876f52c4efae4951971d2b82 (patch) | |
tree | 2a521e800707073845fb9e343df4b85194f55823 /tests-clar/threads | |
parent | 7c3a4a7f07bc0d7fb552b75be6a71d43b8d3bb23 (diff) |
t13-threads.c ported.
Diffstat (limited to 'tests-clar/threads')
-rw-r--r-- | tests-clar/threads/basic.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests-clar/threads/basic.c b/tests-clar/threads/basic.c new file mode 100644 index 000000000..2b1c36808 --- /dev/null +++ b/tests-clar/threads/basic.c @@ -0,0 +1,20 @@ +#include "clar_libgit2.h" + +#include "cache.h" + + +static git_repository *g_repo; + +void test_threads_basic__initialize(void) { + g_repo = cl_git_sandbox_init("testrepo"); +} + +void test_threads_basic__cleanup(void) { + cl_git_sandbox_cleanup(); +} + + +void test_threads_basic__cache(void) { + // run several threads polling the cache at the same time + cl_assert(1 == 1); +} |