diff options
Diffstat (limited to 't/recipes/checks/fields/priority/fields-excessive-priority-for-library-package')
5 files changed, 71 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/control.in b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/control.in new file mode 100644 index 0000000..1db6f3b --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/control.in @@ -0,0 +1,55 @@ +Source: [% $source %] +Section: libs +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: lib[% $source %]42 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Priority: important +Description: [% $description %] (lib) + 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: lib[% $source %]-dev +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Section: libdevel +Priority: standard +Description: [% $description %] (dev) + 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 is a dev package.) + +Package: lib[% $source %]-false-positive-bin +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Section: libdevel +Priority: required +Description: [% $description %] (false positive bin) + 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 is a -bin false positive) + +Package: lib[% $source %]-false-positive-dev +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Section: libdevel +Priority: optional +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. + . + (This is a -dev false positive) diff --git a/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/rules b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/rules new file mode 100644 index 0000000..6dd864a --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_install: + set -e ; for P in $$(dh_listpackages -a) ; do \ + dh_install -p$$P some-file usr/lib/$$P ; \ + done diff --git a/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/fill-values b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/fill-values new file mode 100644 index 0000000..238669e --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-excessive-priority-for-library-package +Description: Library packages with excessive Priority field diff --git a/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/desc b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/desc new file mode 100644 index 0000000..3256006 --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-excessive-priority-for-library-package +Check: fields/priority diff --git a/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/hints b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/hints new file mode 100644 index 0000000..c04c9f2 --- /dev/null +++ b/t/recipes/checks/fields/priority/fields-excessive-priority-for-library-package/eval/hints @@ -0,0 +1,2 @@ +libfields-excessive-priority-for-library-package42 (binary): excessive-priority-for-library-package important +libfields-excessive-priority-for-library-package-dev (binary): excessive-priority-for-library-package standard |