summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri')
-rw-r--r--t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/debian/control.in18
-rw-r--r--t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/fill-values3
-rw-r--r--t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/desc2
-rw-r--r--t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/hints8
4 files changed, 31 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/debian/control.in b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/debian/control.in
new file mode 100644
index 0000000..9be25c5
--- /dev/null
+++ b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/debian/control.in
@@ -0,0 +1,18 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+Vcs-Browser: http://salsa.debian.org/toddy/foobar
+Vcs-Git: git://salsa.debian.org/users/toddy/foobar.git
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Depends: ${shlibs: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-vcs-field-insecure-uri/build-spec/fill-values b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/fill-values
new file mode 100644
index 0000000..edb1367
--- /dev/null
+++ b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: fields-vcs-field-insecure-uri
+Description: Test for VCS-* fields using insecure URIs
diff --git a/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/desc b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/desc
new file mode 100644
index 0000000..e2fe1de
--- /dev/null
+++ b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/desc
@@ -0,0 +1,2 @@
+Testname: fields-vcs-field-insecure-uri
+Check: fields/vcs
diff --git a/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/hints b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/hints
new file mode 100644
index 0000000..90a1b13
--- /dev/null
+++ b/t/recipes/checks/fields/vcs/fields-vcs-field-insecure-uri/eval/hints
@@ -0,0 +1,8 @@
+fields-vcs-field-insecure-uri (source): vcs-uri Git git://salsa.debian.org/users/toddy/foobar.git
+fields-vcs-field-insecure-uri (source): vcs-field-uses-insecure-uri Git git://salsa.debian.org/users/toddy/foobar.git
+fields-vcs-field-insecure-uri (source): vcs-field-uses-insecure-uri Browser http://salsa.debian.org/toddy/foobar
+fields-vcs-field-insecure-uri (source): vcs git
+fields-vcs-field-insecure-uri (source): package-is-maintained-by-individual
+fields-vcs-field-insecure-uri (changes): package-is-maintained-by-individual
+fields-vcs-field-insecure-uri (buildinfo): package-is-maintained-by-individual
+fields-vcs-field-insecure-uri (binary): package-is-maintained-by-individual