tests: Check patches can still be applied after switching refspec
Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		
							
								
								
									
										45
									
								
								tests/test_patch/test2.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								tests/test_patch/test2.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
			
		||||
header:
 | 
			
		||||
  version: 8
 | 
			
		||||
 | 
			
		||||
repos:
 | 
			
		||||
  this:
 | 
			
		||||
 | 
			
		||||
  kas:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
    refspec: master
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
        path: patches/kas-branch/003.patch
 | 
			
		||||
 | 
			
		||||
  kas-branch:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
    refspec: 907816a5c4094b59a36aec12226e71c461c05b77
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
        path: patches/kas/001.patch
 | 
			
		||||
      quilt:
 | 
			
		||||
        repo: this
 | 
			
		||||
        path: patches/kas/quilt/
 | 
			
		||||
 | 
			
		||||
  hello:
 | 
			
		||||
    url: https://www.mercurial-scm.org/repo/hello/
 | 
			
		||||
    refspec: default
 | 
			
		||||
    type: hg
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
        path: patches/hello/001.patch
 | 
			
		||||
      quilt:
 | 
			
		||||
        repo: this
 | 
			
		||||
        path: patches/hello/quilt/
 | 
			
		||||
 | 
			
		||||
  hello-branch:
 | 
			
		||||
    url: https://www.mercurial-scm.org/repo/hello/
 | 
			
		||||
    refspec: 0a04b987be5a
 | 
			
		||||
    type: hg
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
        path: patches/hello-branch/003.patch
 | 
			
		||||
		Reference in New Issue
	
	Block a user