repos: add tests for common errors

This patch adds tests for common errors when working with patches.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Felix Moessbauer
2023-05-18 09:15:09 +02:00
committed by Jan Kiszka
parent 5e4da5020b
commit 6e3a8d9118
4 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
header:
version: 8
repos:
this:
kas:
url: https://github.com/siemens/kas.git
refspec: 907816a5c4094b59a36aec12226e71c461c05b77
patches:
plain:
repo: this
path: patches/kas/001-non-existent.patch

View File

@@ -0,0 +1,11 @@
header:
version: 8
repos:
kas:
url: https://github.com/siemens/kas.git
refspec: 907816a5c4094b59a36aec12226e71c461c05b77
patches:
plain:
repo: non-existent
path: patches/kas/001.patch

View File

@@ -0,0 +1,13 @@
header:
version: 8
repos:
this:
kas:
url: https://github.com/ilbers/isar.git
refspec: 47aaeedecd0ea6f754da36be1d10717b04eb8275
patches:
plain:
repo: this
path: patches/kas/001.patch