summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-12-10 16:16:36 -0800
committerRussell Belfer <rb@github.com>2013-12-11 10:57:51 -0800
commit8046b26cb1e06ef7699d16395598754a8ec5564b (patch)
treefa78e45f0678451dd521251a0a87d7afa76323fe
parent8f1066a05f15ce0e3f91614cf9915162ce6447ee (diff)
downloadlibgit2-8046b26cb1e06ef7699d16395598754a8ec5564b.tar.gz
Try a test that won't assert on Linux
-rw-r--r--tests/checkout/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkout/tree.c b/tests/checkout/tree.c
index ac48bfcdd..d2e92f8e8 100644
--- a/tests/checkout/tree.c
+++ b/tests/checkout/tree.c
@@ -542,7 +542,7 @@ void test_checkout_tree__can_cancel_checkout_from_notify(void)
/* on case-insensitive FS = a/b.txt, branch_file.txt, new.txt */
/* on case-sensitive FS = README, then above */
- if (cl_repo_get_bool(g_repo, "core.ignorecase"))
+ if (git_path_exists("testrepo/.git/CoNfIg")) /* case insensitive */
cl_assert_equal_i(3, ca.count);
else
cl_assert_equal_i(4, ca.count);
@@ -556,7 +556,7 @@ void test_checkout_tree__can_cancel_checkout_from_notify(void)
cl_assert(!git_path_exists("testrepo/new.txt"));
- if (cl_repo_get_bool(g_repo, "core.ignorecase"))
+ if (git_path_exists("testrepo/.git/CoNfIg")) /* case insensitive */
cl_assert_equal_i(4, ca.count);
else
cl_assert_equal_i(1, ca.count);