summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields')
-rw-r--r--t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/debian/control.in17
-rw-r--r--t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/fill-values3
-rw-r--r--t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/desc4
-rw-r--r--t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/hints7
4 files changed, 31 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/debian/control.in
new file mode 100644
index 0000000..212de12
--- /dev/null
+++ b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/debian/control.in
@@ -0,0 +1,17 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+Vcs-Git: git@git.debian.org:foobar.git
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Depends: ${misc:Depends}
+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.
diff --git a/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/fill-values
new file mode 100644
index 0000000..cca8699
--- /dev/null
+++ b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: fields-not-malformed-vcs-fields
+Description: Test not malformed VCS-* fields (especially #778323)
diff --git a/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/desc b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/desc
new file mode 100644
index 0000000..b0bb689
--- /dev/null
+++ b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/desc
@@ -0,0 +1,4 @@
+Testname: fields-not-malformed-vcs-fields
+Test-Against:
+ vcs-field-uses-unknown-uri-format
+Check: fields/vcs
diff --git a/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/hints b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/hints
new file mode 100644
index 0000000..5130228
--- /dev/null
+++ b/t/recipes/checks/fields/vcs/fields-not-malformed-vcs-fields/eval/hints
@@ -0,0 +1,7 @@
+fields-not-malformed-vcs-fields (source): vcs-uri Git git@git.debian.org:foobar.git
+fields-not-malformed-vcs-fields (source): vcs-field-uses-not-recommended-uri-format Git git@git.debian.org:foobar.git
+fields-not-malformed-vcs-fields (source): vcs git
+fields-not-malformed-vcs-fields (source): package-is-maintained-by-individual
+fields-not-malformed-vcs-fields (changes): package-is-maintained-by-individual
+fields-not-malformed-vcs-fields (buildinfo): package-is-maintained-by-individual
+fields-not-malformed-vcs-fields (binary): package-is-maintained-by-individual