summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch
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/changes-file/changes-file-size-checksum-mismatch
parentInitial commit. (diff)
downloadlintian-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/changes-file/changes-file-size-checksum-mismatch')
-rw-r--r--t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/fill-values3
-rw-r--r--t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__1
-rw-r--r--t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/test.changes.in18
-rw-r--r--t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/desc2
-rw-r--r--t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/hints4
5 files changed, 28 insertions, 0 deletions
diff --git a/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/fill-values b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/fill-values
new file mode 100644
index 0000000..74f84be
--- /dev/null
+++ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: changes
+Testname: changes-file-size-checksum-mismatch
+Description: Test for file size and checksums check
diff --git a/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__
new file mode 100644
index 0000000..336f590
--- /dev/null
+++ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/referenced-files/__some-file__
@@ -0,0 +1 @@
+Hallo World
diff --git a/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/test.changes.in b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/test.changes.in
new file mode 100644
index 0000000..c61138b
--- /dev/null
+++ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/build-spec/test.changes.in
@@ -0,0 +1,18 @@
+Format: 1.8
+Date: [% $date %]
+Source: [% $source %]
+Binary: [% $source %]
+Architecture: source all
+Version: [% $version %]
+Distribution: unstable
+Urgency: low
+Maintainer: [% $author %]
+Changed-By: [% $author %]
+Files:
+ d41d8cd98f00b204e9800998ecf8427e 0 devel optional __some-file__
+Checksums-Sha1:
+ da39a3ee5e6b4b0d3255bfef95601890afd80709 0 __some-file__
+Checksums-Sha256:
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 __some-file__
+Description:
+ [% $source %] - [% $description %]
diff --git a/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/desc b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/desc
new file mode 100644
index 0000000..0a4c5d0
--- /dev/null
+++ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/desc
@@ -0,0 +1,2 @@
+Testname: changes-file-size-checksum-mismatch
+Check: changes-file
diff --git a/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/hints b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/hints
new file mode 100644
index 0000000..f614fbe
--- /dev/null
+++ b/t/recipes/checks/changes-file/changes-file-size-checksum-mismatch/eval/hints
@@ -0,0 +1,4 @@
+changes-file-size-checksum-mismatch (changes): file-size-mismatch-in-changes-file __some-file__ 0 != 12
+changes-file-size-checksum-mismatch (changes): checksum-mismatch-in-changes-file Checksum-Sha256 __some-file__
+changes-file-size-checksum-mismatch (changes): checksum-mismatch-in-changes-file Checksum-Sha1 __some-file__
+changes-file-size-checksum-mismatch (changes): checksum-mismatch-in-changes-file Checksum-Md5 __some-file__