mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 14:08:17 +00:00 
			
		
		
		
	notes: add test resource with faked two-level fanout
This commit is contained in:
		
							parent
							
								
									6c08e69fd9
								
							
						
					
					
						commit
						454cc829f3
					
				@ -107,7 +107,7 @@ void test_network_remotelocal__retrieve_advertised_references(void)
 | 
			
		||||
 | 
			
		||||
	cl_git_pass(git_remote_ls(remote, &count_ref__cb, &how_many_refs));
 | 
			
		||||
 | 
			
		||||
	cl_assert_equal_i(how_many_refs, 20);
 | 
			
		||||
	cl_assert_equal_i(how_many_refs, 21);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void test_network_remotelocal__retrieve_advertised_references_from_spaced_repository(void)
 | 
			
		||||
@ -121,7 +121,7 @@ void test_network_remotelocal__retrieve_advertised_references_from_spaced_reposi
 | 
			
		||||
 | 
			
		||||
	cl_git_pass(git_remote_ls(remote, &count_ref__cb, &how_many_refs));
 | 
			
		||||
 | 
			
		||||
	cl_assert_equal_i(how_many_refs, 20);
 | 
			
		||||
	cl_assert_equal_i(how_many_refs, 21);
 | 
			
		||||
 | 
			
		||||
	git_remote_free(remote);	/* Disconnect from the "spaced repo" before the cleanup */
 | 
			
		||||
	remote = NULL;
 | 
			
		||||
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										1
									
								
								tests-clar/resources/testrepo.git/refs/notes/fanout
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests-clar/resources/testrepo.git/refs/notes/fanout
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
d07b0f9a8c89f1d9e74dc4fce6421dec5ef8a659
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user