mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 23:03:35 +00:00
t13-threads.c ported.
This commit is contained in:
parent
7c3a4a7f07
commit
1cb9b31e51
20
tests-clar/threads/basic.c
Normal file
20
tests-clar/threads/basic.c
Normal file
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user