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/documentation/texinfo/infofiles-general | |
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/documentation/texinfo/infofiles-general')
7 files changed, 50 insertions, 0 deletions
diff --git a/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/debian/rules b/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/debian/rules new file mode 100755 index 0000000..6b18e3f --- /dev/null +++ b/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +tmp = $(CURDIR)/debian/$(shell dh_listpackages) + +%: + dh $@ + +override_dh_auto_install: + install -d $(tmp)/usr/share/info + install -m 644 foo.info $(tmp)/usr/share/info/foo.info + gzip -n -9 $(tmp)/usr/share/info/foo.info + install -m 644 foo.info $(tmp)/usr/share/info/foo + install -m 644 foo.info $(tmp)/usr/share/info/foo-nogz.gz + install -m 644 foo.info $(tmp)/usr/share/info/foo-nomax + gzip -n -1 $(tmp)/usr/share/info/foo-nomax + install -m 644 bar.info $(tmp)/usr/share/info/bar.info + gzip -n -9 $(tmp)/usr/share/info/bar.info + install -m 644 bar.info $(tmp)/usr/share/info/bar.newinfo + gzip -n -9 $(tmp)/usr/share/info/bar.newinfo + + install -m 644 w-image.info $(tmp)/usr/share/info/w-image.info + gzip -n -9 $(tmp)/usr/share/info/w-image.info + +override_dh_installinfo: + +override_dh_compress: + gzip -n -9 $(tmp)/usr/share/doc/infofiles-general/changelog diff --git a/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/fill-values b/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/fill-values new file mode 100644 index 0000000..992f967 --- /dev/null +++ b/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: infofiles-general +Description: Checks of info files diff --git a/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/bar.info b/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/bar.info new file mode 100644 index 0000000..ed0919c --- /dev/null +++ b/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/bar.info @@ -0,0 +1,2 @@ +This is bar.info, produced by hand from thin air, without the required +directory bits. diff --git a/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/foo.info b/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/foo.info new file mode 100644 index 0000000..165c919 --- /dev/null +++ b/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/foo.info @@ -0,0 +1,6 @@ +This is foo.info, produced by hand from thin air. + +INFO-DIR-SECTION Lintian +START-INFO-DIR-ENTRY +* foo: (foo). A miracle occurs. +END-INFO-DIR-ENTRY diff --git a/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/w-image.info b/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/w-image.info Binary files differnew file mode 100644 index 0000000..6d610a5 --- /dev/null +++ b/t/recipes/checks/documentation/texinfo/infofiles-general/build-spec/orig/w-image.info diff --git a/t/recipes/checks/documentation/texinfo/infofiles-general/eval/desc b/t/recipes/checks/documentation/texinfo/infofiles-general/eval/desc new file mode 100644 index 0000000..8bf8d8f --- /dev/null +++ b/t/recipes/checks/documentation/texinfo/infofiles-general/eval/desc @@ -0,0 +1,3 @@ +Testname: infofiles-general +See-Also: Bug#534640 +Check: documentation/texinfo diff --git a/t/recipes/checks/documentation/texinfo/infofiles-general/eval/hints b/t/recipes/checks/documentation/texinfo/infofiles-general/eval/hints new file mode 100644 index 0000000..fd71d06 --- /dev/null +++ b/t/recipes/checks/documentation/texinfo/infofiles-general/eval/hints @@ -0,0 +1,9 @@ +infofiles-general (binary): info-document-not-compressed-with-max-compression [usr/share/info/foo-nomax.gz] +infofiles-general (binary): info-document-not-compressed-with-gzip [usr/share/info/foo-nogz.gz] +infofiles-general (binary): info-document-not-compressed [usr/share/info/foo] +infofiles-general (binary): info-document-missing-image-file some-image.png [usr/share/info/w-image.info.gz:7] +infofiles-general (binary): info-document-missing-dir-section [usr/share/info/bar.newinfo.gz] +infofiles-general (binary): info-document-missing-dir-section [usr/share/info/bar.info.gz] +infofiles-general (binary): info-document-missing-dir-entry [usr/share/info/bar.newinfo.gz] +infofiles-general (binary): info-document-missing-dir-entry [usr/share/info/bar.info.gz] +infofiles-general (binary): info-document-has-wrong-extension [usr/share/info/bar.newinfo.gz] |