[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 02/02: Provide some possibly-helpful advice when violating the "entry header" changelog test.



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit add2d039c095f99800f97759bac4b016eeb4c25b
Author: Chris Lamb <lamby@debian.org>
Date:   Thu Feb 15 14:00:05 2018 +0000

    Provide some possibly-helpful advice when violating the "entry header" changelog test.
---
 debian/changelog             | 3 +++
 t/scripts/changelog-format.t | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 6b9781a..2e559e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,9 @@ lintian (2.5.76) UNRELEASED; urgency=medium
     + [CL] Drop all the overrides for Lintian titself now that we use the
       <!nocheck> build profile for the previously-spurious warnings.
 
+  * t/scripts/changelog-format.t:
+    + [CL] Provide some possibly-helpful advice when violating the "entry
+      header" changelog test.
   * t/tests/cruft-upstream-binaries:
     + [CL] Add a testcase to check that symlinked missing-sources do the
       right thing (re. #890468).
diff --git a/t/scripts/changelog-format.t b/t/scripts/changelog-format.t
index 5940c53..969b370 100755
--- a/t/scripts/changelog-format.t
+++ b/t/scripts/changelog-format.t
@@ -104,7 +104,8 @@ foreach (split /\n/,$changes) {
         ok($prev_head eq '-', 'line is a continuation of tag change')
           or diag("line: $line");
     } else {
-        ok(m/^(:?\.|lintian.+)$/, 'line is an entry header')
+        ok(m/^(:?\.|lintian.+)$/,
+            'line is an entry header (possible leading whitespace?)')
           or diag("line: $line");
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: