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/files/contents/files-missing-depends-on-sensible-utils/build-spec | |
parent | Initial commit. (diff) | |
download | lintian-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/files/contents/files-missing-depends-on-sensible-utils/build-spec')
12 files changed, 96 insertions, 0 deletions
diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/control.in b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/control.in new file mode 100644 index 0000000..40990f3 --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/control.in @@ -0,0 +1,51 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + +Package: [% $source %]-has-depends +Architecture: all +Depends: ${misc:Depends}, sensible-utils +Description: [% $description %] (with dependency) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + This package has a dependency on sensible-utils. + +Package: [% $source %]-has-recommends +Architecture: all +Depends: ${misc:Depends} +Recommends: sensible-utils +Description: [% $description %] (with Recommends dependency) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + This package has a Recommends dependency on sensible-utils. + +Package: [% $source %]-has-suggests +Architecture: all +Depends: ${misc:Depends} +Suggests: sensible-utils +Description: [% $description %] (with Suggests dependency) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + This package has a Suggests dependency on sensible-utils. diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-depends.install b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-depends.install new file mode 100644 index 0000000..cebc38f --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-depends.install @@ -0,0 +1 @@ +test-script var/lib/test2 diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-depends.postinst b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-depends.postinst new file mode 100644 index 0000000..f369cc0 --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-depends.postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +sensible-pager + +#DEBHELPER# diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-recommends.install b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-recommends.install new file mode 100644 index 0000000..9c708a6 --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-recommends.install @@ -0,0 +1 @@ +test-script var/lib/test3 diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-recommends.postinst b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-recommends.postinst new file mode 100644 index 0000000..f369cc0 --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-recommends.postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +sensible-pager + +#DEBHELPER# diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-suggests.install b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-suggests.install new file mode 100644 index 0000000..97920c7 --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-suggests.install @@ -0,0 +1 @@ +test-script var/lib/test4 diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-suggests.postinst b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-suggests.postinst new file mode 100644 index 0000000..f369cc0 --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils-has-suggests.postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +sensible-pager + +#DEBHELPER# diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.docs b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.docs new file mode 100644 index 0000000..7d83343 --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.docs @@ -0,0 +1 @@ +test-script diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.install b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.install new file mode 100644 index 0000000..118348c --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.install @@ -0,0 +1,2 @@ +test-script var/lib/test +test-script usr/share/locale diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.postinst b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.postinst new file mode 100644 index 0000000..f369cc0 --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/debian/files-missing-depends-on-sensible-utils.postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +sensible-pager + +#DEBHELPER# diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/fill-values b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/fill-values new file mode 100644 index 0000000..80f994c --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-missing-depends-on-sensible-utils +Description: Check missing dep on sensible-utils diff --git a/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/orig/test-script b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/orig/test-script new file mode 100755 index 0000000..f0a46b2 --- /dev/null +++ b/t/recipes/checks/files/contents/files-missing-depends-on-sensible-utils/build-spec/orig/test-script @@ -0,0 +1,8 @@ +#!/bin/sh + +sensible-editor + +# sensible-pager false positive + +# Only report on the first match +select-editor |