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); +}