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/fields/package-relations/fields-build-profiles-general | |
parent | Initial commit. (diff) | |
download | lintian-upstream.tar.xz lintian-upstream.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/fields/package-relations/fields-build-profiles-general')
4 files changed, 40 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/debian/control.in b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/debian/control.in new file mode 100644 index 0000000..7df1b9f --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/debian/control.in @@ -0,0 +1,33 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], + big <stage1>, bpfail1 <foobar>, + bpcomplicated <stage1 nocheck> <cross> <!pkg.[% $source %].foo> +Rules-Requires-Root: no + +Package: [% $source %]-wrong-syntax +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Build-Profiles: <in<valid> +Description: [% $description %] (wrong syntax) + Check the syntax of the Build-Profiles field + . + 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 %]-unknown-profile +Architecture: [% $package_architecture %] +Depends: ${shlibs:Depends}, ${misc:Depends} +Build-Profiles: <!stage1 !nocheck> <!unknown> <pkg.[% $source %].foo> +Description: [% $description %] (unknown profile) + Check for unknown profile names + . + 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. diff --git a/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/fill-values b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/fill-values new file mode 100644 index 0000000..7fd9fd0 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: fields-build-profiles-general +Description: General tests for build profiles diff --git a/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/desc b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/desc new file mode 100644 index 0000000..910a094 --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/desc @@ -0,0 +1,3 @@ +Testname: fields-build-profiles-general +See-Also: Debian Bug#540594, Debian Bug#551793 +Check: fields/package-relations diff --git a/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/hints b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/hints new file mode 100644 index 0000000..485eeda --- /dev/null +++ b/t/recipes/checks/fields/package-relations/fields-build-profiles-general/eval/hints @@ -0,0 +1 @@ +fields-build-profiles-general (source): invalid-profile-name-in-source-relation foobar [Build-Depends: bpfail1 <foobar>] |