diff options
Diffstat (limited to 't/recipes/checks/debian/copyright/dep5/wildcard-out-of-order')
7 files changed, 33 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/copyright new file mode 100644 index 0000000..4fd9937 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/copyright @@ -0,0 +1,21 @@ +# taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905747#5 +# but split up for each of the two conditions +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: (C) 2018 Niels Thykier +License: License1 + +Files: debian/patches/* +Copyright: (C) 2019 Niels Thykier +License: License1 + +Files: debian/* +Copyright: (C) 2018 Niels Thykier +License: License2 + +License: License1 + Please call the author for this license. + +License: License2 + Please call the author for this license. diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/patches/a.patch b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/patches/a.patch new file mode 100644 index 0000000..294a68c --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/debian/patches/a.patch @@ -0,0 +1 @@ +A PATCH diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/fill-values new file mode 100644 index 0000000..79c5734 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: wildcard-out-of-order +Description: Wildcards not ordered by depth in the directory tree diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/orig/a-file b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/orig/a-file new file mode 100644 index 0000000..fadb157 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/build-spec/orig/a-file @@ -0,0 +1 @@ +A FILE diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/desc b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/desc new file mode 100644 index 0000000..ffd1a6d --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/desc @@ -0,0 +1,3 @@ +Testname: wildcard-out-of-order +Check: debian/copyright/dep5 +See-Also: Bug#905747 diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/hints b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/hints new file mode 100644 index 0000000..e2ec0eb --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/hints @@ -0,0 +1,3 @@ +wildcard-out-of-order (source): update-debian-copyright 2019 vs CHANGELOG-YEAR [debian/copyright:10] +wildcard-out-of-order (source): superfluous-file-pattern debian/patches/* [debian/copyright:9] +wildcard-out-of-order (source): globbing-patterns-out-of-order debian/patches/* debian/* debian/patches/a.patch [debian/copyright:13] diff --git a/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/post-test b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/wildcard-out-of-order/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ |