mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 18:03:54 +00:00
Try a test that won't assert on Linux
This commit is contained in:
parent
8f1066a05f
commit
8046b26cb1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user