]> git.proxmox.com Git - libgit2.git/blob - tests/t13-threads.c
Merge pull request #405 from carlosmn/http-ls
[libgit2.git] / tests / t13-threads.c
1 /*
2 * This file is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License, version 2,
4 * as published by the Free Software Foundation.
5 *
6 * In addition to the permissions in the GNU General Public License,
7 * the authors give you unlimited permission to link the compiled
8 * version of this file into combinations with other programs,
9 * and to distribute those combinations without any restriction
10 * coming from the use of this file. (The General Public License
11 * restrictions do apply in other respects; for example, they cover
12 * modification of the file, and distribution when not linked into
13 * a combined executable.)
14 *
15 * This file is distributed in the hope that it will be useful, but
16 * WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; see the file COPYING. If not, write to
22 * the Free Software Foundation, 51 Franklin Street, Fifth Floor,
23 * Boston, MA 02110-1301, USA.
24 */
25 #include "test_lib.h"
26 #include "test_helpers.h"
27 #include "cache.h"
28
29
30 typedef struct {
31 git_cached_obj cached;
32 unsigned int __dummy;
33 } ttest_obj;
34
35 BEGIN_TEST(cache0, "run several threads polling the cache at the same time")
36
37 END_TEST
38
39 BEGIN_SUITE(threads)
40 ADD_TEST(cache0);
41 END_SUITE