summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/patches/patch-systems-quilt-description
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/patches/patch-systems-quilt-description')
-rw-r--r--t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/README.source1
-rw-r--r--t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok7
-rw-r--r--t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description5
-rw-r--r--t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch8
-rw-r--r--t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/04_template_description17
-rw-r--r--t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/series4
-rw-r--r--t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/desc3
-rw-r--r--t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/hints1
9 files changed, 50 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/README.source b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/README.source
new file mode 100644
index 0000000..17250a4
--- /dev/null
+++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/README.source
@@ -0,0 +1 @@
+This package uses quilt. See /usr/share/doc/quilt/README.source.
diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok
new file mode 100644
index 0000000..7eee707
--- /dev/null
+++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok
@@ -0,0 +1,7 @@
+This is a description of the patch
+
+--- a.orig 2008-11-11 19:38:12.000000000 +0000
++++ a 2008-11-11 19:38:26.000000000 +0000
+@@ -1 +1,2 @@
+ sample text
++and some more sample text
diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description
new file mode 100644
index 0000000..12128b8
--- /dev/null
+++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description
@@ -0,0 +1,5 @@
+--- a.orig 2008-11-11 19:38:12.000000000 +0000
++++ a 2008-11-11 19:38:26.000000000 +0000
+@@ -1 +1,2 @@
+ sample text
++and some more sample text
diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch
new file mode 100644
index 0000000..025656a
--- /dev/null
+++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch
@@ -0,0 +1,8 @@
+diff --git a/a b/a
+index eb39593..7258d2f 100644
+--- a 2008-11-11 19:38:12.000000000 +0000
++++ a 2008-11-11 19:38:26.000000000 +0000
+@@ -1 +1,3 @@
+ sample text
+ and some more sample text
++and yet another line
diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/04_template_description b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/04_template_description
new file mode 100644
index 0000000..09bfd88
--- /dev/null
+++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/04_template_description
@@ -0,0 +1,17 @@
+Description: <short summary of the patch>
+ This patch include a templated text for description
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+diff --git a/a b/a
+index eb39593..7258d2f 100644
+--- a 2008-11-11 19:38:12.000000000 +0000
++++ a 2008-11-11 19:38:26.000000000 +0000
+@@ -1 +1,4 @@
+ sample text
+ and some more sample text
+ and yet another line
++and so on
diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/series
new file mode 100644
index 0000000..a7ab472
--- /dev/null
+++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/debian/patches/series
@@ -0,0 +1,4 @@
+01_this_patch_is_ok
+02_this_one_has_no_description
+03_a_git_patch
+04_template_description
diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/fill-values b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/fill-values
new file mode 100644
index 0000000..d957fdd
--- /dev/null
+++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: patch-systems-quilt-description
+Description: Test for quilt patches which do not have accompanying descriptions
+Extra-Build-Depends: quilt
diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/desc b/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/desc
new file mode 100644
index 0000000..bcfc987
--- /dev/null
+++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/desc
@@ -0,0 +1,3 @@
+Testname: patch-systems-quilt-description
+See-Also: Debian Bug #498892
+Check: debian/patches
diff --git a/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/hints b/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/hints
new file mode 100644
index 0000000..c79c3e1
--- /dev/null
+++ b/t/recipes/checks/debian/patches/patch-systems-quilt-description/eval/hints
@@ -0,0 +1 @@
+patch-systems-quilt-description (source): patch-system quilt