diff options
Diffstat (limited to 't/recipes/checks/fields/package-relations/fields-virtual-packages')
6 files changed, 44 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/control.in new file mode 100644 index 0000000..4657b6e --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/control.in @@ -0,0 +1,32 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, httpd +Provides: + 123456789, + [% $source %]-${source:Version}, + arch-specific [i386], + provides-are-allowed [!i386], + valid-versioned-provides (= 1.0) +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 %]2 +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: a, iNvAlId-NaMe, versioned (>> 0.1) +Description: [% $description %] - bogus + This is a bogus 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. diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/install b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/install new file mode 100644 index 0000000..6e59b8c --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/debian/install @@ -0,0 +1 @@ +some-file usr/lib/lintian diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/fill-values new file mode 100644 index 0000000..cde3e6b --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-virtual-packages +Description: Tests related to virtual packages diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/orig/some-file b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/orig/some-file new file mode 100644 index 0000000..7bf08f7 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/build-spec/orig/some-file @@ -0,0 +1,2 @@ +This file is installed into /usr/share/lintian just to ensure that this +package doesn't look like a metapackage for the dependency checks. diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/desc b/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/desc new file mode 100644 index 0000000..cb0f562 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/desc @@ -0,0 +1,2 @@ +Testname: fields-virtual-packages +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/hints b/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/hints new file mode 100644 index 0000000..70699dd --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-virtual-packages/eval/hints @@ -0,0 +1,4 @@ +fields-virtual-packages2 (binary): invalid-versioned-provides versioned (>> 0.1) +fields-virtual-packages2 (binary): bad-provided-package-name iNvAlId-NaMe +fields-virtual-packages2 (binary): bad-provided-package-name a +fields-virtual-packages (binary): virtual-package-depends-without-real-package-depends Depends: httpd |