summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec')
-rw-r--r--t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/debian/control.in117
-rw-r--r--t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/fill-values3
2 files changed, 120 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/debian/control.in b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/debian/control.in
new file mode 100644
index 0000000..ae4bdbd
--- /dev/null
+++ b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/debian/control.in
@@ -0,0 +1,117 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: [% $source %]-full-stop
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: This synopsis ends with a full-stop.
+ This description ends with a full-stop.
+ .
+ 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 %]-no-full-stop
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: This synopsis does not end with a full stop
+ This description does not end with a full stop
+ .
+ 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 %]-two-sentences
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: This synopsis starts a sentence. Then starts another.
+ This description starts a sentence. Then starts another.
+ .
+ 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 %]-etc
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: This synopsis ends with, etc.
+ This description ends with, etc.
+ .
+ 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 %]-eg
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: This synopsis contains, e.g. /foo/bar/baz.conf
+ This description contains, e.g. /foo/bar/baz.conf
+ .
+ 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 %]-eg-variant
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: This synopsis contains, eg. /foo/bar/baz.conf
+ This description contains, eg. /foo/bar/baz.conf
+ .
+ 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-ellipsis
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: This synopsis contains a 2-ellipsis .. and other words
+ This description contains a 2-ellipsis .. and other words
+ .
+ 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 %]-3-ellipsis
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: This synopsis contains a 3-ellipsis ... and other words
+ This description contains a 3-ellipsis ... and other words
+ .
+ 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 %]-4-ellipsis
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: This synopsis contains a 4-ellipsis .... and other words
+ This description contains a 4-ellipsis .... and other words
+ .
+ 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 %]-misspelt
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: This synopsis ends with mispelling of stretc.
+ This description ends with mispelling of stretc.
+ .
+ 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/description/description-synopsis-might-not-be-phrased-properly/build-spec/fill-values b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/fill-values
new file mode 100644
index 0000000..0daadc2
--- /dev/null
+++ b/t/recipes/checks/fields/description/description-synopsis-might-not-be-phrased-properly/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: description-synopsis-might-not-be-phrased-properly
+Description: Tests for fullstop detection