summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.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/debian/changelog/changelog-distribution-does-not-match-changes-file')
-rw-r--r--t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/fill-values4
-rwxr-xr-xt/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/post-build.in3
-rw-r--r--t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/desc2
-rw-r--r--t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/hints1
4 files changed, 10 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/fill-values b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/fill-values
new file mode 100644
index 0000000..a9262a1
--- /dev/null
+++ b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/fill-values
@@ -0,0 +1,4 @@
+Testname: changelog-distribution-does-not-match-changes-file
+Skeleton: upload-native
+Distribution: experimental
+Description: Test upload with unstable in changes but experimental in changelog
diff --git a/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/post-build.in b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/post-build.in
new file mode 100755
index 0000000..10a61dc
--- /dev/null
+++ b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/build-spec/post-build.in
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+perl -pi -e 's/^(Distribution:)\s+\S+/$1 unstable/' [% $build_product %]
diff --git a/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/desc b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/desc
new file mode 100644
index 0000000..d46c519
--- /dev/null
+++ b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/desc
@@ -0,0 +1,2 @@
+Testname: changelog-distribution-does-not-match-changes-file
+Check: debian/changelog
diff --git a/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/hints b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/hints
new file mode 100644
index 0000000..cede117
--- /dev/null
+++ b/t/recipes/checks/debian/changelog/changelog-distribution-does-not-match-changes-file/eval/hints
@@ -0,0 +1 @@
+changelog-distribution-does-not-match-changes-file (binary): changelog-distribution-does-not-match-changes-file experimental != unstable [usr/share/doc/changelog-distribution-does-not-match-changes-file/changelog.gz:1]