tests: add a testcase for applying patches

This adds a test where we clone a git and a hg repo and apply a single
patch and later a quilt series on each of them.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Henning Schild
2019-08-20 16:58:59 +02:00
committed by Jan Kiszka
parent 8a2a21d799
commit fafc017392
12 changed files with 175 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -1,1 +1,4 @@
all: hello
+
+clean:
+ rm -f hello

View File

@@ -0,0 +1,8 @@
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,1 @@
all: hello
-
-clean:
- rm -f hello

View File

@@ -0,0 +1,8 @@
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -1,1 +1,4 @@
all: hello
+
+clean:
+ rm -f hello

View File

@@ -0,0 +1,4 @@
# test comment
# this is a revert of the other 001 we applied without quilt
001.patch # first patch
002.patch