From 75808db17caf8b960b351e3408e74142f4c85aac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:42:30 +0200 Subject: Adding upstream version 2.117.0. Signed-off-by: Daniel Baumann --- .../checks/md5sums/md5sums-general/build-spec/debian/install | 1 + .../checks/md5sums/md5sums-general/build-spec/debian/rules | 12 ++++++++++++ .../checks/md5sums/md5sums-general/build-spec/fill-values | 3 +++ .../md5sums/md5sums-general/build-spec/orig/data-file1 | 1 + .../md5sums/md5sums-general/build-spec/orig/data-file2 | 1 + .../md5sums/md5sums-general/build-spec/orig/data-file3 | 1 + .../md5sums/md5sums-general/build-spec/orig/data-file4 | 1 + t/recipes/checks/md5sums/md5sums-general/eval/desc | 2 ++ t/recipes/checks/md5sums/md5sums-general/eval/hints | 4 ++++ 9 files changed, 26 insertions(+) create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/fill-values create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file1 create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file2 create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file3 create mode 100644 t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file4 create mode 100644 t/recipes/checks/md5sums/md5sums-general/eval/desc create mode 100644 t/recipes/checks/md5sums/md5sums-general/eval/hints (limited to 't/recipes/checks/md5sums/md5sums-general') diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install new file mode 100644 index 0000000..399564c --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install @@ -0,0 +1 @@ +data* usr/share/lintian/ diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules new file mode 100644 index 0000000..6971ee0 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +FIND ?= find + +%: + dh $@ + +override_dh_builddeb: + echo "Broken md5sum" > $$($(FIND) debian/ -name 'data-file1') + sed -i 's/data-file2/data-file5/' $$($(FIND) -name 'md5sums') + echo "broken-md5sums" >> $$($(FIND) -name 'md5sums') + dh_builddeb diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/fill-values b/t/recipes/checks/md5sums/md5sums-general/build-spec/fill-values new file mode 100644 index 0000000..4607247 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: md5sums-general +Description: Test of md5sums related tags diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file1 b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file1 new file mode 100644 index 0000000..ad9213e --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file1 @@ -0,0 +1 @@ +Hello data-file1 diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file2 b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file2 new file mode 100644 index 0000000..fdf6b01 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file2 @@ -0,0 +1 @@ +Hello data-file2 diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file3 b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file3 new file mode 100644 index 0000000..0f72672 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file3 @@ -0,0 +1 @@ +Hello data-file3 diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file4 b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file4 new file mode 100644 index 0000000..2764cf8 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file4 @@ -0,0 +1 @@ +Hello data-file4 diff --git a/t/recipes/checks/md5sums/md5sums-general/eval/desc b/t/recipes/checks/md5sums/md5sums-general/eval/desc new file mode 100644 index 0000000..3129219 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/eval/desc @@ -0,0 +1,2 @@ +Testname: md5sums-general +Check: md5sums diff --git a/t/recipes/checks/md5sums/md5sums-general/eval/hints b/t/recipes/checks/md5sums/md5sums-general/eval/hints new file mode 100644 index 0000000..28265fe --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/eval/hints @@ -0,0 +1,4 @@ +md5sums-general (binary): md5sums-lists-nonexistent-file usr/share/lintian/data-file5 [md5sums] +md5sums-general (binary): md5sum-mismatch usr/share/lintian/data-file1 [md5sums] +md5sums-general (binary): malformed-md5sums-control-file Odd text: broken-md5sums [md5sums] +md5sums-general (binary): file-missing-in-md5sums usr/share/lintian/data-file2 [md5sums] -- cgit v1.2.3