diff options
Diffstat (limited to 't/recipes/checks/debian/control/field/architecture/multiline')
4 files changed, 49 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/debian/control.in b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/debian/control.in new file mode 100644 index 0000000..25e3070 --- /dev/null +++ b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/debian/control.in @@ -0,0 +1,43 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://lintian.debian.org/ + +Package: [% $source %]-broken +Architecture: any-amd64 any-arm64 any-mips64 any-mips64el any-ia64 + any-ppc64 any-ppc64el any-sparc64 +Depends: ${misc:Depends} +Description: [% $description %] (multiline architecture, broken) + This is a (broken) 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. + . + The Architecture (multi-)line example above is taken from + https://bugs.debian.org/780473 + +Package: [% $source %]-fine-any-something +Architecture: any-amd64 any-arm64 any-mips64 any-mips64el any-ia64 any-ppc64 any-ppc64el any-sparc64 +Depends: ${misc:Depends} +Description: [% $description %] (any-something, fine) + This is a (non-broken) 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 "any-something" package should not show up. + +Package: [% $source %]-fine-all +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] (all, fine) + This is a (non-broken) 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 "all" package should not show up. diff --git a/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/fill-values b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/fill-values new file mode 100644 index 0000000..b1b9f17 --- /dev/null +++ b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-important-space +Description: Important tests for control file spacing diff --git a/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/desc b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/desc new file mode 100644 index 0000000..1fcd3a9 --- /dev/null +++ b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-important-space +Check: debian/control/field/architecture/multiline diff --git a/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/hints b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/hints new file mode 100644 index 0000000..366ed52 --- /dev/null +++ b/t/recipes/checks/debian/control/field/architecture/multiline/control-file-important-space/eval/hints @@ -0,0 +1 @@ +control-file-important-space (source): multiline-architecture-field Architecture (in section for control-file-important-space-broken) [debian/control:11] |