diff options
Diffstat (limited to 't/recipes/checks/files/empty-package/declared-as-empty')
4 files changed, 43 insertions, 0 deletions
diff --git a/t/recipes/checks/files/empty-package/declared-as-empty/build-spec/debian/control.in b/t/recipes/checks/files/empty-package/declared-as-empty/build-spec/debian/control.in new file mode 100644 index 0000000..b068c53 --- /dev/null +++ b/t/recipes/checks/files/empty-package/declared-as-empty/build-spec/debian/control.in @@ -0,0 +1,35 @@ +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: ${shlibs: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. + . + This is an empty package. The declaration as such should bypass related + complaints from Lintian. You can use this package to detect false + positives. + +Package: [% $source %]-udeb +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Package-Type: udeb +Section: debian-installer +Description: [% $description %] (udeb) + 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. + . + This is an empty package. The declaration as such should bypass related + complaints from Lintian. You can use this package to detect false + positives. + . + This is the udeb variant of [% $source %] diff --git a/t/recipes/checks/files/empty-package/declared-as-empty/build-spec/fill-values b/t/recipes/checks/files/empty-package/declared-as-empty/build-spec/fill-values new file mode 100644 index 0000000..70532af --- /dev/null +++ b/t/recipes/checks/files/empty-package/declared-as-empty/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: declared-as-empty +Description: Empty binary package so declared (false positive) diff --git a/t/recipes/checks/files/empty-package/declared-as-empty/eval/desc b/t/recipes/checks/files/empty-package/declared-as-empty/eval/desc new file mode 100644 index 0000000..d4cd19d --- /dev/null +++ b/t/recipes/checks/files/empty-package/declared-as-empty/eval/desc @@ -0,0 +1,4 @@ +Testname: declared-as-empty +Check: files/empty-package +Test-Against: + empty-binary-package diff --git a/t/recipes/checks/files/empty-package/declared-as-empty/eval/hints b/t/recipes/checks/files/empty-package/declared-as-empty/eval/hints new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/checks/files/empty-package/declared-as-empty/eval/hints @@ -0,0 +1 @@ + |