Subject: [PATCH 23/25] Update test suite for the first class .changes changes

From: Adam D. Barratt <[email-masked]>
Date: Tue, 23 Mar 2010 19:50:28 +0000

---
 t/changes/changed-by-localhost.tags    |    2 +-
 t/changes/changed-by-malformed.tags    |    4 ++--
 t/changes/changed-by-no-name.tags      |    2 +-
 t/changes/changes-double-signed.tags   |    2 +-
 t/tests/distribution-multiple-bad/tags |    8 ++++----
 t/tests/generic-empty/tags             |    6 +++---
 t/tests/lintian-output-xml/tags        |    2 ++
 7 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/t/changes/changed-by-localhost.tags b/t/changes/changed-by-localhost.tags
index 2aec261..e260e19 100644
--- a/t/changes/changed-by-localhost.tags
+++ b/t/changes/changed-by-localhost.tags
@@ -1 +1 @@
-E: changed-by-localhost.changes: changed-by-address-is-on-localhost Someone <[email-masked]>
+E: changed-by-localhost changes: changed-by-address-is-on-localhost Someone <[email-masked]>
diff --git a/t/changes/changed-by-malformed.tags b/t/changes/changed-by-malformed.tags
index 220f7b0..5347402 100644
--- a/t/changes/changed-by-malformed.tags
+++ b/t/changes/changed-by-malformed.tags
@@ -1,2 +1,2 @@
-E: changed-by-malformed.changes: changed-by-address-malformed Foo<bar> Baz
-W: changed-by-malformed.changes: changed-by-address-looks-weird Foo<bar> Baz
+E: changed-by-malformed changes: changed-by-address-malformed Foo<bar> Baz
+W: changed-by-malformed changes: changed-by-address-looks-weird Foo<bar> Baz
diff --git a/t/changes/changed-by-no-name.tags b/t/changes/changed-by-no-name.tags
index ee84e74..795a51c 100644
--- a/t/changes/changed-by-no-name.tags
+++ b/t/changes/changed-by-no-name.tags
@@ -1 +1 @@
-E: changed-by-no-name.changes: changed-by-name-missing [email-masked]
+E: changed-by-no-name changes: changed-by-name-missing [email-masked]
diff --git a/t/changes/changes-double-signed.tags b/t/changes/changes-double-signed.tags
index 38c3365..8ca3164 100644
--- a/t/changes/changes-double-signed.tags
+++ b/t/changes/changes-double-signed.tags
@@ -1 +1 @@
-E: changes-double-signed.changes: malformed-changes-file
+E: changes-double-signed changes: malformed-changes-file
diff --git a/t/tests/distribution-multiple-bad/tags b/t/tests/distribution-multiple-bad/tags
index 7539af1..7cc3bfe 100644
--- a/t/tests/distribution-multiple-bad/tags
+++ b/t/tests/distribution-multiple-bad/tags
@@ -1,4 +1,4 @@
-E: distribution-multiple-bad_1.0_arch.changes: bad-distribution-in-changes-file bar
-E: distribution-multiple-bad_1.0_arch.changes: bad-distribution-in-changes-file foo
-E: distribution-multiple-bad_1.0_arch.changes: bad-distribution-in-changes-file foo-backportss
-E: distribution-multiple-bad_1.0_arch.changes: multiple-distributions-in-changes-file stable foo-backportss bar foo
+E: distribution-multiple-bad_1.0_amd64 changes: bad-distribution-in-changes-file bar
+E: distribution-multiple-bad_1.0_amd64 changes: bad-distribution-in-changes-file foo
+E: distribution-multiple-bad_1.0_amd64 changes: bad-distribution-in-changes-file foo-backportss
+E: distribution-multiple-bad_1.0_amd64 changes: multiple-distributions-in-changes-file stable foo-backportss bar foo
diff --git a/t/tests/generic-empty/tags b/t/tests/generic-empty/tags
index 1c49b4e..97eca4e 100644
--- a/t/tests/generic-empty/tags
+++ b/t/tests/generic-empty/tags
@@ -5,9 +5,9 @@ E: generic-empty source: no-standards-version-field
 E: generic-empty: maintainer-address-missing a
 E: generic-empty: no-copyright-file
 E: generic-empty: package-has-no-description
-E: generic-empty_1.0_arch.changes: bad-urgency-in-changes-file unknown
-E: generic-empty_1.0_arch.changes: changed-by-address-malformed a <>
-E: generic-empty_1.0_arch.changes: changed-by-address-missing a <>
+E: generic-empty_1.0_amd64 changes: bad-urgency-in-changes-file unknown
+E: generic-empty_1.0_amd64 changes: changed-by-address-malformed a <>
+E: generic-empty_1.0_amd64 changes: changed-by-address-missing a <>
 W: generic-empty source: changelog-should-mention-nmu
 W: generic-empty source: maintainer-not-full-name a
 W: generic-empty source: no-section-field-for-source
diff --git a/t/tests/lintian-output-xml/tags b/t/tests/lintian-output-xml/tags
index 4c73126..1910121 100644
--- a/t/tests/lintian-output-xml/tags
+++ b/t/tests/lintian-output-xml/tags
@@ -1,3 +1,5 @@
+<package type="changes" name="lintian-output-xml_1.0+dsfg-1.1_amd64" architecture="source all" version="1.0+dsfg-1.1">
+</package>
 <package type="source" name="lintian-output-xml" architecture="source" version="1.0+dsfg-1.1">
 <tag severity="pedantic" certainty="certain" flags="" name="debian-control-has-unusual-field-spacing">line 11</tag>
 <tag severity="wishlist" certainty="certain" flags="" name="binary-control-field-duplicates-source">field &quot;section&quot; in package lintian-output-xml</tag>
-- 
1.6.6