Welcome to mirror list, hosted at ThFree Co, Russian Federation.

basic.c « threads « tests-clar - github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2b1c3680833c463cb91999061dd2f50744072c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
}