summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/fields/mail-address/changed-by-localhost
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/fields/mail-address/changed-by-localhost')
-rw-r--r--t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/fill-values3
-rw-r--r--t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/test.changes.in12
-rw-r--r--t/recipes/checks/fields/mail-address/changed-by-localhost/eval/desc2
-rw-r--r--t/recipes/checks/fields/mail-address/changed-by-localhost/eval/hints3
4 files changed, 20 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/fill-values b/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/fill-values
new file mode 100644
index 0000000..b56d57a
--- /dev/null
+++ b/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: changes
+Testname: changed-by-localhost
+Description: Test Changed-By field with localhost address
diff --git a/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/test.changes.in b/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/test.changes.in
new file mode 100644
index 0000000..efffd8b
--- /dev/null
+++ b/t/recipes/checks/fields/mail-address/changed-by-localhost/build-spec/test.changes.in
@@ -0,0 +1,12 @@
+Format: 1.8
+Date: [% $date %]
+Source: [% $source %]
+Binary: [% $source %]
+Architecture: source all
+Version: [% $version %]
+Distribution: unstable
+Urgency: low
+Maintainer: [% $author %]
+Changed-By: Someone <someone@localhost.localdomain>
+Description:
+ [% $source %] - [% $description %]
diff --git a/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/desc b/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/desc
new file mode 100644
index 0000000..7eee22e
--- /dev/null
+++ b/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/desc
@@ -0,0 +1,2 @@
+Testname: changed-by-localhost
+Check: fields/mail-address
diff --git a/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/hints b/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/hints
new file mode 100644
index 0000000..0b00bd4
--- /dev/null
+++ b/t/recipes/checks/fields/mail-address/changed-by-localhost/eval/hints
@@ -0,0 +1,3 @@
+changed-by-localhost (changes): mail-contact Maintainer "Debian Lintian Maintainers" <lintian-maint@debian.org>
+changed-by-localhost (changes): mail-contact Changed-By Someone <someone@localhost.localdomain>
+changed-by-localhost (changes): bogus-mail-host Changed-By someone@localhost.localdomain