From c8402334d2f4943653f1377455d478a4b471b254 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Wed, 13 Aug 2014 17:23:07 -0400 Subject: Don't include the unreadable tests on win32 --- tests/status/worktree.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/status/worktree.c b/tests/status/worktree.c index 2e86c03b0..8897bf9b5 100644 --- a/tests/status/worktree.c +++ b/tests/status/worktree.c @@ -938,6 +938,7 @@ void test_status_worktree__update_stat_cache_0(void) void test_status_worktree__unreadable(void) { +#ifndef GIT_WIN32 const char *expected_paths[] = { "no_permission/foo" }; const unsigned int expected_statuses[] = {GIT_STATUS_WT_UNREADABLE}; @@ -966,10 +967,12 @@ void test_status_worktree__unreadable(void) cl_assert_equal_i(counts.expected_entry_count, counts.entry_count); cl_assert_equal_i(0, counts.wrong_status_flags_count); cl_assert_equal_i(0, counts.wrong_sorted_path); +#endif } void test_status_worktree__unreadable_not_included(void) { +#ifndef GIT_WIN32 const char *expected_paths[] = { "no_permission/" }; const unsigned int expected_statuses[] = {GIT_STATUS_WT_NEW}; @@ -998,6 +1001,7 @@ void test_status_worktree__unreadable_not_included(void) cl_assert_equal_i(counts.expected_entry_count, counts.entry_count); cl_assert_equal_i(0, counts.wrong_status_flags_count); cl_assert_equal_i(0, counts.wrong_sorted_path); +#endif } void test_status_worktree__unreadable_as_untracked(void) -- cgit v1.2.1