diff options
author | Russell Belfer <rb@github.com> | 2013-08-23 01:10:56 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-08-23 01:10:56 +0400 |
commit | 972bb689c4a69ba5a5dfaeebacc7198622c4f051 (patch) | |
tree | 563f1ac8a33f5d44f32be76ea5d7fc862cec8457 /tests-clar/core | |
parent | 2b6e1908476c95c84d3e3a62ac069f789156b070 (diff) |
Add SRWLock implementation of rwlocks for Win32
Diffstat (limited to 'tests-clar/core')
-rw-r--r-- | tests-clar/core/sortedcache.c | 6 |
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); |