@@ -42,48 +42,6 @@ void test_repo_open__format_version_1(void)
4242 git_repository_free (repo );
4343}
4444
45- void test_repo_open__format_version_1_with_valid_extension (void )
46- {
47- git_repository * repo ;
48- git_config * config ;
49-
50- repo = cl_git_sandbox_init ("empty_bare.git" );
51-
52- cl_git_pass (git_repository_open (& repo , "empty_bare.git" ));
53- cl_git_pass (git_repository_config (& config , repo ));
54-
55- cl_git_pass (git_config_set_int32 (config , "core.repositoryformatversion" , 1 ));
56- cl_git_pass (git_config_set_int32 (config , "extensions.noop" , 1 ));
57-
58- git_config_free (config );
59- git_repository_free (repo );
60-
61- cl_git_pass (git_repository_open (& repo , "empty_bare.git" ));
62- cl_assert (git_repository_path (repo ) != NULL );
63- cl_assert (git__suffixcmp (git_repository_path (repo ), "/" ) == 0 );
64- git_repository_free (repo );
65- }
66-
67- void test_repo_open__format_version_1_with_invalid_extension (void )
68- {
69- git_repository * repo ;
70- git_config * config ;
71-
72- repo = cl_git_sandbox_init ("empty_bare.git" );
73-
74- cl_git_pass (git_repository_open (& repo , "empty_bare.git" ));
75- cl_git_pass (git_repository_config (& config , repo ));
76-
77- cl_git_pass (git_config_set_int32 (config , "core.repositoryformatversion" , 1 ));
78- cl_git_pass (git_config_set_int32 (config , "extensions.invalid" , 1 ));
79-
80- git_config_free (config );
81- git_repository_free (repo );
82-
83- cl_git_fail (git_repository_open (& repo , "empty_bare.git" ));
84- git_repository_free (repo );
85- }
86-
8745void test_repo_open__standard_empty_repo_through_gitdir (void )
8846{
8947 git_repository * repo ;
0 commit comments