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/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar | |
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/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar')
5 files changed, 64 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/control.in new file mode 100644 index 0000000..07c5e61 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/control.in @@ -0,0 +1,42 @@ +Source: [% $source %] +Priority: optional +Section: python +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], dh-runit +Rules-Requires-Root: no + +Package: [% $source %]-missing +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, runit +Description: [% $description %] (true positive) + 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. + . + Missing breaks. + +Package: [% $source %]-present +Architecture: [% $package_architecture %] +Depends: ${misc:Depends}, runit +Breaks: ${runit:Breaks} +Description: [% $description %] (false positive) + 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. + . + Has breaks. + +Package: [% $source %]-unrelated +Architecture: all +Depends: ${misc:Depends} +Breaks: ${runit:Breaks} +Description: [% $description %] (unrelated) + 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. + . + No, breaks, but unrelated. diff --git a/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/rules new file mode 100755 index 0000000..25cfa28 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +%: + dh $@ --with runit + +override_dh_auto_install: + dh_auto_install + for X in $(shell dh_listpackages); do \ + mkdir -p debian/$$X/etc/sv; \ + touch debian/$$X/etc/sv/$$X; \ + done diff --git a/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/fill-values new file mode 100644 index 0000000..1fab39d --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-dh-runit-but-lacks-breaks-substvar +Description: Check Breaks requirements for dh --with dh_runit diff --git a/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/desc new file mode 100644 index 0000000..4865688 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-dh-runit-but-lacks-breaks-substvar +Test-Depends: + dh-runit +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/hints new file mode 100644 index 0000000..8cfba49 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-runit-but-lacks-breaks-substvar/eval/hints @@ -0,0 +1,4 @@ +debhelper-dh-runit-but-lacks-breaks-substvar (source): package-uses-dh-runit-but-lacks-breaks-substvar debhelper-dh-runit-but-lacks-breaks-substvar-missing [debian/rules] +debhelper-dh-runit-but-lacks-breaks-substvar (source): debian-build-system dh [debian/rules] +debhelper-dh-runit-but-lacks-breaks-substvar (source): debhelper-compat-virtual-relation 13 [debian/control] +debhelper-dh-runit-but-lacks-breaks-substvar (source): debhelper-compat-level 13 |