diff options
Diffstat (limited to 't/recipes/checks/debian/copyright/dep5/source-copyright-unique')
9 files changed, 52 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/debian/copyright new file mode 100644 index 0000000..1f88946 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/debian/copyright @@ -0,0 +1,36 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Doohickey +Upstream-Contact: J. Random Hacker <j.r.hacker@example.com> +Source: http://examples.com/doohickey/source/ +License: some-license + some license + +Files: * +Copyright: 2014, somebody1 +License: some-license + +Files: code +Copyright: none +License: public-domain + this work is PD because I say so + +Files: code2 +Copyright: none +License: public-domain + this work is also in the public domain + +Files: debian/* +Copyright: 2014, somebody1 +License: other-license + this is a valid license short name + +Files: NEWS +Copyright: 2014, somebody1 +License: other-license + this is a valid license short name 3 + +License: other-license + other-license + +License: other-license + other-license 2 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/fill-values new file mode 100644 index 0000000..f730d09 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: source-copyright-unique +Description: Test if standalone paragraph name are unique diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/NEWS b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/NEWS new file mode 100644 index 0000000..8a7f3d9 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/NEWS @@ -0,0 +1 @@ +no news
\ No newline at end of file diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/README b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/README new file mode 100644 index 0000000..1a9d2ad --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/README @@ -0,0 +1 @@ +trivial diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code new file mode 100644 index 0000000..1e2b25a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code @@ -0,0 +1 @@ +simple 3rd party code diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code2 b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code2 new file mode 100644 index 0000000..31d7114 --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/build-spec/orig/code2 @@ -0,0 +1 @@ +another simple 3rd party code diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/desc new file mode 100644 index 0000000..68f492a --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/desc @@ -0,0 +1,2 @@ +Testname: source-copyright-unique +Check: debian/copyright/dep5 diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/hints new file mode 100644 index 0000000..9474fab --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/hints @@ -0,0 +1,6 @@ +source-copyright-unique (source): update-debian-copyright 2014 vs CHANGELOG-YEAR [debian/copyright:23] +source-copyright-unique (source): unused-license-paragraph-in-dep5-copyright other-license [debian/copyright:35] +source-copyright-unique (source): unused-license-paragraph-in-dep5-copyright other-license [debian/copyright:32] +source-copyright-unique (source): dep5-file-paragraph-references-header-paragraph some-license [debian/copyright:8] +source-copyright-unique (source): dep5-copyright-license-name-not-unique other-license [debian/copyright:35] +source-copyright-unique (source): dep5-copyright-license-name-not-unique other-license [debian/copyright:32] diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/post-test new file mode 100644 index 0000000..feeacfc --- /dev/null +++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-unique/eval/post-test @@ -0,0 +1 @@ +s/vs [0-9]+/vs CHANGELOG-YEAR/ |