mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 01:31:47 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			341 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			341 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "clar_libgit2.h"
 | 
						|
 | 
						|
void test_core_init__returns_count(void)
 | 
						|
{
 | 
						|
	/* libgit2_clar initializes us first, so we have an existing
 | 
						|
	 * initialization.
 | 
						|
	 */
 | 
						|
	cl_assert_equal_i(2, git_libgit2_init());
 | 
						|
	cl_assert_equal_i(3, git_libgit2_init());
 | 
						|
 | 
						|
	cl_assert_equal_i(2, git_libgit2_shutdown());
 | 
						|
	cl_assert_equal_i(1, git_libgit2_shutdown());
 | 
						|
}
 | 
						|
 |