diff options
Diffstat (limited to 't/recipes/checks/debian/patches/quilt/patch-systems-quilt-description')
9 files changed, 52 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/README.source b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/README.source new file mode 100644 index 0000000..17250a4 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/quilt/patch-systems-quilt-description/build-spec/debian/patches/01_this_patch_is_ok b/t/recipes/checks/debian/patches/quilt/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/quilt/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/quilt/patch-systems-quilt-description/build-spec/debian/patches/02_this_one_has_no_description b/t/recipes/checks/debian/patches/quilt/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/quilt/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/quilt/patch-systems-quilt-description/build-spec/debian/patches/03_a_git_patch b/t/recipes/checks/debian/patches/quilt/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/quilt/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/quilt/patch-systems-quilt-description/build-spec/debian/patches/04_template_description b/t/recipes/checks/debian/patches/quilt/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/quilt/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/quilt/patch-systems-quilt-description/build-spec/debian/patches/series b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/debian/patches/series new file mode 100644 index 0000000..a7ab472 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/quilt/patch-systems-quilt-description/build-spec/fill-values b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/build-spec/fill-values new file mode 100644 index 0000000..d957fdd --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/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/quilt/patch-systems-quilt-description/eval/desc b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/desc new file mode 100644 index 0000000..90fcde3 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/desc @@ -0,0 +1,3 @@ +Testname: patch-systems-quilt-description +See-Also: Debian Bug #498892 +Check: debian/patches/quilt diff --git a/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/hints b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/hints new file mode 100644 index 0000000..dd7eb59 --- /dev/null +++ b/t/recipes/checks/debian/patches/quilt/patch-systems-quilt-description/eval/hints @@ -0,0 +1,3 @@ +patch-systems-quilt-description (source): quilt-patch-using-template-description [debian/patches/04_template_description] +patch-systems-quilt-description (source): quilt-patch-missing-description [debian/patches/03_a_git_patch] +patch-systems-quilt-description (source): quilt-patch-missing-description [debian/patches/02_this_one_has_no_description] |