Commit 8046b26c by Russell Belfer

Try a test that won't assert on Linux

parent 8f1066a0
...@@ -542,7 +542,7 @@ void test_checkout_tree__can_cancel_checkout_from_notify(void) ...@@ -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-insensitive FS = a/b.txt, branch_file.txt, new.txt */
/* on case-sensitive FS = README, then above */ /* 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); cl_assert_equal_i(3, ca.count);
else else
cl_assert_equal_i(4, ca.count); cl_assert_equal_i(4, ca.count);
...@@ -556,7 +556,7 @@ void test_checkout_tree__can_cancel_checkout_from_notify(void) ...@@ -556,7 +556,7 @@ void test_checkout_tree__can_cancel_checkout_from_notify(void)
cl_assert(!git_path_exists("testrepo/new.txt")); 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); cl_assert_equal_i(4, ca.count);
else else
cl_assert_equal_i(1, ca.count); cl_assert_equal_i(1, ca.count);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment