diff options
Diffstat (limited to 'tests/pack/packbuilder.c')
| -rw-r--r-- | tests/pack/packbuilder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pack/packbuilder.c b/tests/pack/packbuilder.c index 1d7becef7..9bea203d5 100644 --- a/tests/pack/packbuilder.c +++ b/tests/pack/packbuilder.c @@ -31,7 +31,7 @@ void test_pack_packbuilder__cleanup(void) git_oid *o; unsigned int i; - cl_git_pass(git_libgit2_opts(GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION, 0)); + cl_git_pass(git_libgit2_opts(GIT_OPT_ENABLE_FSYNC_GITDIR, 0)); if (_commits_is_initialized) { _commits_is_initialized = 0; @@ -209,7 +209,7 @@ static int expected_fsyncs = 4; void test_pack_packbuilder__fsync_global_setting(void) { - cl_git_pass(git_libgit2_opts(GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION, 1)); + cl_git_pass(git_libgit2_opts(GIT_OPT_ENABLE_FSYNC_GITDIR, 1)); p_fsync__cnt = 0; seed_packbuilder(); git_packbuilder_write(_packbuilder, ".", 0666, NULL, NULL); |
