tests: Add some test cases to cover handling of legacy refspec
Covers both the invalid combinations refspec with the new commit/branch keys as well as the issuing of a warning when a repo contains refspec. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		
							
								
								
									
										10
									
								
								tests/test_refspec/test5.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								tests/test_refspec/test5.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
header:
 | 
			
		||||
  version: 14
 | 
			
		||||
 | 
			
		||||
repos:
 | 
			
		||||
  this:
 | 
			
		||||
 | 
			
		||||
  kas:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
    commit: dc44638cd87c4d0045ea2ca441e682f3525d8b91
 | 
			
		||||
    refspec: master
 | 
			
		||||
							
								
								
									
										10
									
								
								tests/test_refspec/test6.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								tests/test_refspec/test6.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
header:
 | 
			
		||||
  version: 14
 | 
			
		||||
 | 
			
		||||
repos:
 | 
			
		||||
  this:
 | 
			
		||||
 | 
			
		||||
  kas:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
    refspec: dc44638cd87c4d0045ea2ca441e682f3525d8b91
 | 
			
		||||
    branch: master
 | 
			
		||||
		Reference in New Issue
	
	Block a user