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

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-08-23 01:10:56 +0400
committerRussell Belfer <rb@github.com>2013-08-23 01:10:56 +0400
commit972bb689c4a69ba5a5dfaeebacc7198622c4f051 (patch)
tree563f1ac8a33f5d44f32be76ea5d7fc862cec8457 /tests-clar/core
parent2b6e1908476c95c84d3e3a62ac069f789156b070 (diff)
Add SRWLock implementation of rwlocks for Win32
Diffstat (limited to 'tests-clar/core')
-rw-r--r--tests-clar/core/sortedcache.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests-clar/core/sortedcache.c b/tests-clar/core/sortedcache.c
index 509d0df6b..c1869bee0 100644
--- a/tests-clar/core/sortedcache.c
+++ b/tests-clar/core/sortedcache.c
@@ -128,7 +128,9 @@ void test_core_sortedcache__in_memory(void)
cl_assert_equal_i(30, item->value);
cl_assert(git_sortedcache_lookup(sc, "abc") == NULL);
- cl_git_pass(git_sortedcache_rlock(sc)); /* grab more than one */
+ /* not on Windows:
+ * cl_git_pass(git_sortedcache_rlock(sc)); -- grab more than one
+ */
cl_assert((item = git_sortedcache_entry(sc, 0)) != NULL);
cl_assert_equal_s("aaa", item->path);
@@ -148,7 +150,7 @@ void test_core_sortedcache__in_memory(void)
cl_assert(git_sortedcache_entry(sc, 5) == NULL);
git_sortedcache_runlock(sc);
- git_sortedcache_runlock(sc);
+ /* git_sortedcache_runlock(sc); */
cl_assert_equal_i(0, free_count);