diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/fields/distribution/changelog-file-backport | |
parent | Initial commit. (diff) | |
download | lintian-upstream.tar.xz lintian-upstream.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/fields/distribution/changelog-file-backport')
6 files changed, 52 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/debian/changelog.in b/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/debian/changelog.in new file mode 100644 index 0000000..227f65f --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/debian/changelog.in @@ -0,0 +1,12 @@ +[% $source %] ([% $version %]) squeeze-backports; urgency=low + + * Lintian Test Suite. + * Test: [% $testname %] + + -- [% $author %] [% $date %] + +[% $source %] (0.1) experimental; urgency=low + + * First upload to experimental. + + -- [% $author %] Fri, 06 Feb 2009 22:22:37 -0800 diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/fill-values b/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/fill-values new file mode 100644 index 0000000..486ac79 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: changelog-file-backport +Description: Check backport +# Overrides the "data/changes-file/known-dists" +# data file to avoid updating the test every release diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/eval/desc b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/desc new file mode 100644 index 0000000..6da32fd --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/desc @@ -0,0 +1,8 @@ +Testname: changelog-file-backport +Options: --include-dir ./lintian-include-dir +Profile: lintian-test +Test-Against: + upload-has-backports-version-number +Check: fields/distribution +# Overrides the "data/changes-file/known-dists" +# data file to avoid updating the test every release diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/eval/hints b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/hints new file mode 100644 index 0000000..6e7a287 --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/hints @@ -0,0 +1,2 @@ +changelog-file-backport (changes): backports-upload-has-incorrect-version-number 1.0 squeeze-backports +changelog-file-backport (changes): backports-changes-missing diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/profiles/lintian-test/main.profile new file mode 100644 index 0000000..f0e27cf --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/profiles/lintian-test/main.profile @@ -0,0 +1,2 @@ +Profile: lintian-test/main +Extends: debian/main diff --git a/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/vendors/lintian-test/main/data/changes-file/known-dists b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/vendors/lintian-test/main/data/changes-file/known-dists new file mode 100644 index 0000000..ebbedbd --- /dev/null +++ b/t/recipes/checks/fields/distribution/changelog-file-backport/eval/lintian-include-dir/vendors/lintian-test/main/data/changes-file/known-dists @@ -0,0 +1,23 @@ +# A list of Debian distributions, both code names and their aliases +# - Note that common "extensions"[1] are stripped before checking for the +# distribution name (except for "sid", "unstable" and "experimental"). +# +# [1] -backports, -security, -proposed-updates etc. See checks/changes-file +# for the complete list. + + +# Codenames +squeeze +wheezy +jessie +stretch +buster +sid + +# Aliases +oldstable +stable +testing +unstable +experimental + |