tests: Check refspec switch updates git branch/commit correctly
Mercurial has no concept of a local tracking branch so we only need to test git repositories here. Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
3
tests/test_refspec/oe-init-build-env
Executable file
3
tests/test_refspec/oe-init-build-env
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
true
|
13
tests/test_refspec/test.yml
Normal file
13
tests/test_refspec/test.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
header:
|
||||
version: 8
|
||||
|
||||
repos:
|
||||
this:
|
||||
|
||||
kas:
|
||||
url: https://github.com/siemens/kas.git
|
||||
refspec: 907816a5c4094b59a36aec12226e71c461c05b77
|
||||
|
||||
kas2:
|
||||
url: https://github.com/siemens/kas.git
|
||||
refspec: master
|
13
tests/test_refspec/test2.yml
Normal file
13
tests/test_refspec/test2.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
header:
|
||||
version: 8
|
||||
|
||||
repos:
|
||||
this:
|
||||
|
||||
kas:
|
||||
url: https://github.com/siemens/kas.git
|
||||
refspec: master
|
||||
|
||||
kas2:
|
||||
url: https://github.com/siemens/kas.git
|
||||
refspec: 907816a5c4094b59a36aec12226e71c461c05b77
|
Reference in New Issue
Block a user