mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 01:43:48 +00:00
commit
e0ab1ca028
@ -73,7 +73,7 @@ void test_config_global__open_programdata(void)
|
|||||||
git_buf config_path = GIT_BUF_INIT;
|
git_buf config_path = GIT_BUF_INIT;
|
||||||
git_buf var_contents = GIT_BUF_INIT;
|
git_buf var_contents = GIT_BUF_INIT;
|
||||||
|
|
||||||
if (!cl_getenv("GITTEST_INVASIVE_FS_STRUCTURE"))
|
if (cl_is_env_set("GITTEST_INVASIVE_FS_STRUCTURE"))
|
||||||
cl_skip();
|
cl_skip();
|
||||||
|
|
||||||
cl_git_pass(git_libgit2_opts(GIT_OPT_GET_SEARCH_PATH,
|
cl_git_pass(git_libgit2_opts(GIT_OPT_GET_SEARCH_PATH,
|
||||||
|
@ -126,4 +126,7 @@ void test_config_stress__quick_write(void)
|
|||||||
cl_git_pass(git_config_get_int32(&val, config_r, key));
|
cl_git_pass(git_config_get_int32(&val, config_r, key));
|
||||||
cl_assert_equal_i(i, val);
|
cl_assert_equal_i(i, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
git_config_free(config_r);
|
||||||
|
git_config_free(config_w);
|
||||||
}
|
}
|
||||||
|
@ -46,6 +46,8 @@ void assert_name_too_long(void)
|
|||||||
|
|
||||||
/* check the suffix */
|
/* check the suffix */
|
||||||
cl_assert_equal_s(expected_msg, err->message + (actual_len - expected_len));
|
cl_assert_equal_s(expected_msg, err->message + (actual_len - expected_len));
|
||||||
|
|
||||||
|
git__free(expected_msg);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user